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:
parent
859b543118
commit
34abee594d
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue