From 2d13cb0bc644307087e9b549dd18c49eeef76a2c Mon Sep 17 00:00:00 2001 From: Mark Joshwel Date: Sun, 11 Aug 2024 03:00:33 +0800 Subject: [PATCH] game(scripts): rename state in MarkPlayer wops --- RunningLateGame/Assets/Scripts/MarkPlayer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RunningLateGame/Assets/Scripts/MarkPlayer.cs b/RunningLateGame/Assets/Scripts/MarkPlayer.cs index 211af63..6c46e29 100644 --- a/RunningLateGame/Assets/Scripts/MarkPlayer.cs +++ b/RunningLateGame/Assets/Scripts/MarkPlayer.cs @@ -30,6 +30,6 @@ private void Start() public void OnPause() { Debug.Log("escape pressed"); - _game.SetDisplayState(_game.Paused ? GameManager.DisplayState.Game : GameManager.DisplayState.ScreenPauseMenu); + _game.SetDisplayState(_game.Paused ? GameManager.DisplayState.Game : GameManager.DisplayState.OverlayPauseMenu); } } \ No newline at end of file