Skip to content

Commit ee33acf

Browse files
authored
Revert "fix transition crash when skipping (#490)" (#492)
This reverts commit 49f13ed.
1 parent 49f13ed commit ee33acf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

source/funkin/backend/MusicBeatTransition.hx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ class MusicBeatTransition extends MusicBeatSubstate {
7979
public function finish() {
8080
if (newState != null)
8181
FlxG.switchState(newState);
82-
else
83-
close();
82+
close();
8483
}
8584

8685
public override function destroy() {

0 commit comments

Comments
 (0)