mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-03-27 12:29:39 +00:00
Fix bug where onUpdate was called twice per frame
This commit is contained in:
parent
859b543118
commit
34abee594d
|
@ -923,9 +923,6 @@ class PlayState extends MusicBeatSubState
|
||||||
|
|
||||||
// Moving notes into position is now done by Strumline.update().
|
// Moving notes into position is now done by Strumline.update().
|
||||||
processNotes(elapsed);
|
processNotes(elapsed);
|
||||||
|
|
||||||
// Dispatch the onUpdate event to scripted elements.
|
|
||||||
dispatchEvent(new UpdateScriptEvent(elapsed));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override function dispatchEvent(event:ScriptEvent):Void
|
public override function dispatchEvent(event:ScriptEvent):Void
|
||||||
|
|
Loading…
Reference in a new issue