stop game from crashing when pressing r in cutscen
This commit is contained in:
parent
a9cff4db15
commit
dddc331701
@ -2592,7 +2592,7 @@ class PlayState extends MusicBeatState
|
||||
|
||||
// FlxG.switchState(new GameOverState(boyfriend.getScreenPosition().x, boyfriend.getScreenPosition().y));
|
||||
}
|
||||
if (FlxG.save.data.resetButton)
|
||||
if (!inCutscene && FlxG.save.data.resetButton)
|
||||
{
|
||||
if (FlxG.keys.justPressed.R)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user