cleanup
This commit is contained in:
@@ -122,7 +122,7 @@ class MusicBeatState extends FlxUIState implements IBeatReceiver
|
||||
if (stateScript != null && !(stateScript is DummyScript))
|
||||
Logs.trace('State script successfully reloaded', WARNING, GREEN);
|
||||
}
|
||||
call("update");
|
||||
call("update", [elapsed]);
|
||||
super.update(elapsed);
|
||||
}
|
||||
|
||||
|
||||
@@ -155,7 +155,7 @@ class Paths
|
||||
inline static public function font(key:String)
|
||||
{
|
||||
#if sys
|
||||
return OpenFlAssets.getPath(getPath('fonts/$key', FONT, null));
|
||||
return sys.FileSystem.absolutePath(OpenFlAssets.getPath(getPath('fonts/$key', FONT, null)));
|
||||
#else
|
||||
return getPath('fonts/$key', FONT, null);
|
||||
#end
|
||||
|
||||
Reference in New Issue
Block a user