Skip to content

Commit 4f67b86

Browse files
committed
A bit simpler
1 parent e23eb74 commit 4f67b86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SkipSplashScreenProject/SkipSplashScreenPlugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public void Update()
2828
if (gameState == null)
2929
return;
3030

31-
if (GameManager.Instance?.Game?.GlobalGameState?.GetState() == GameState.MainMenu)
31+
if (gameState == GameState.MainMenu)
3232
Destroy(this);
3333
}
3434

0 commit comments

Comments
 (0)