game(scripts): rename state in MarkPlayer

wops
This commit is contained in:
Mark Joshwel 2024-08-11 03:00:33 +08:00
parent 5f8b0f1670
commit 2d13cb0bc6

View file

@ -30,6 +30,6 @@ private void Start()
public void OnPause() public void OnPause()
{ {
Debug.Log("escape pressed"); Debug.Log("escape pressed");
_game.SetDisplayState(_game.Paused ? GameManager.DisplayState.Game : GameManager.DisplayState.ScreenPauseMenu); _game.SetDisplayState(_game.Paused ? GameManager.DisplayState.Game : GameManager.DisplayState.OverlayPauseMenu);
} }
} }