Skip to content

Commit

Permalink
Revert "fix transition crash when skipping (#490)"
Browse files Browse the repository at this point in the history
This reverts commit 49f13ed.
  • Loading branch information
NeeEoo authored Dec 13, 2024
1 parent 49f13ed commit 0b12383
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/funkin/backend/MusicBeatTransition.hx
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ class MusicBeatTransition extends MusicBeatSubstate {
public function finish() {
if (newState != null)
FlxG.switchState(newState);
else
close();
close();
}

public override function destroy() {
Expand Down

0 comments on commit 0b12383

Please sign in to comment.