charter progress

This commit is contained in:
Yoshman29
2023-04-22 02:30:18 +02:00
parent d323030268
commit b667b160a6
4 changed files with 54 additions and 5 deletions
+3 -1
View File
@@ -1043,10 +1043,10 @@ class PlayState extends MusicBeatState
@:dox(hide)
override public function update(elapsed:Float)
{
super.update(elapsed);
scripts.call("update", [elapsed]);
if (inCutscene) {
super.update(elapsed);
scripts.call("postUpdate", [elapsed]);
return;
}
@@ -1159,6 +1159,8 @@ class PlayState extends MusicBeatState
if (generatedMusic && FlxG.keys.justPressed.ONE)
endSong();
#end
super.update(elapsed);
scripts.call("postUpdate", [elapsed]);
}