gitaroo pause particular crashfix
someone had an issue that instance was null even if the pause directly loaded from playstate wth meh at least like this we're sure it won't happen anymore
This commit is contained in:
@@ -55,7 +55,7 @@ class GitarooPause extends MusicBeatState
|
||||
|
||||
if (controls.ACCEPT)
|
||||
{
|
||||
if (PlayState.chartingMode && Charter.undos.unsaved)
|
||||
if (PlayState.instance != null && PlayState.chartingMode && Charter.undos.unsaved)
|
||||
PlayState.instance.saveWarn(false);
|
||||
else {
|
||||
if (replaySelect)
|
||||
|
||||
Reference in New Issue
Block a user