Skip to content

Commit

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

public override function destroy() {
Expand Down

0 comments on commit 49f13ed

Please sign in to comment.