game(scripts): rename state in MarkPlayer
wops
This commit is contained in:
parent
5f8b0f1670
commit
2d13cb0bc6
|
@ -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);
|
||||
}
|
||||
}
|
Reference in a new issue