mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-03-21 20:39:52 -04:00
Fix bug where onUpdate was called twice per frame
This commit is contained in:
parent
859b543118
commit
34abee594d
1 changed files with 0 additions and 3 deletions
|
@ -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