add Paths asset name helper
This commit is contained in:
@ -14,7 +14,7 @@ class LatencyState extends FlxState
|
||||
|
||||
override function create()
|
||||
{
|
||||
FlxG.sound.playMusic('assets/sounds/soundTest' + TitleState.soundExt);
|
||||
FlxG.sound.playMusic(Paths.sound('soundTest'));
|
||||
|
||||
noteGrp = new FlxTypedGroup<Note>();
|
||||
add(noteGrp);
|
||||
|
Reference in New Issue
Block a user