diff --git a/buildnumber.txt b/buildnumber.txt index 1ca59347..e6498171 100644 --- a/buildnumber.txt +++ b/buildnumber.txt @@ -1 +1 @@ -1287 \ No newline at end of file +1288 \ No newline at end of file diff --git a/source/funkin/menus/FreeplayState.hx b/source/funkin/menus/FreeplayState.hx index bedbd543..e7f4670f 100644 --- a/source/funkin/menus/FreeplayState.hx +++ b/source/funkin/menus/FreeplayState.hx @@ -67,12 +67,6 @@ class FreeplayState extends MusicBeatState DiscordClient.changePresence("In the Menus", null); #end - var isDebug:Bool = false; - - #if debug - isDebug = true; - #end - // LOAD CHARACTERS bg = new FlxSprite(0, 0, Paths.image('menus/menuDesat')); @@ -120,33 +114,6 @@ class FreeplayState extends MusicBeatState changeSelection(0, true); changeDiff(); - // FlxG.sound.playMusic(Paths.music('title'), 0); - // FlxG.sound.music.fadeIn(2, 0, 0.8); - selector = new FlxText(); - - selector.size = 40; - selector.text = ">"; - // add(selector); - - var swag:Alphabet = new Alphabet(1, 0, "swag"); - - // JUST DOIN THIS SHIT FOR TESTING!!! - /* - var md:String = Markdown.markdownToHtml(Assets.getText('CHANGELOG.md')); - - var texFel:TextField = new TextField(); - texFel.width = FlxG.width; - texFel.height = FlxG.height; - // texFel. - texFel.htmlText = md; - - FlxG.stage.addChild(texFel); - - // scoreText.textField.htmlText = md; - - trace(md); - */ - super.create(); } diff --git a/source/funkin/system/MusicBeatState.hx b/source/funkin/system/MusicBeatState.hx index 621963b3..80f302bf 100644 --- a/source/funkin/system/MusicBeatState.hx +++ b/source/funkin/system/MusicBeatState.hx @@ -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); } diff --git a/source/funkin/system/Paths.hx b/source/funkin/system/Paths.hx index 980ac567..41df4535 100644 --- a/source/funkin/system/Paths.hx +++ b/source/funkin/system/Paths.hx @@ -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