1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-27 07:27:12 +00:00

Fix bug where onUpdate was called twice per frame

This commit is contained in:
EliteMasterEric 2023-08-09 18:11:19 -04:00
parent 859b543118
commit 34abee594d

View file

@ -923,9 +923,6 @@ class PlayState extends MusicBeatSubState
// Moving notes into position is now done by Strumline.update().
processNotes(elapsed);
// Dispatch the onUpdate event to scripted elements.
dispatchEvent(new UpdateScriptEvent(elapsed));
}
public override function dispatchEvent(event:ScriptEvent):Void