fix transition crash when skipping (#490)
This commit is contained in:
@@ -79,7 +79,8 @@ class MusicBeatTransition extends MusicBeatSubstate {
|
||||
public function finish() {
|
||||
if (newState != null)
|
||||
FlxG.switchState(newState);
|
||||
close();
|
||||
else
|
||||
close();
|
||||
}
|
||||
|
||||
public override function destroy() {
|
||||
|
||||
Reference in New Issue
Block a user