stop game from crashing when pressing r in cutscen
This commit is contained in:
1 parent
a9cff4db15
commit
dddc331701
1 file changed
+1
-1
+1
-1
@@ -2592,7 +2592,7 @@ class PlayState extends MusicBeatState
|
|||||||
|
|
||||||
// FlxG.switchState(new GameOverState(boyfriend.getScreenPosition().x, boyfriend.getScreenPosition().y));
|
// 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)
|
if (FlxG.keys.justPressed.R)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user