dont' actually pause the game

This commit is contained in:
ntr committed 2023-10-03 16:54:59 +11:00
1 parent bd65110f27
commit b036a0a9c3
1 file changed
+2 -2
+2 -2
View File
@@ -86,7 +86,7 @@ public class MenuControls : MonoBehaviour {
void Show() {
// pause the game
Time.timeScale = 0f;
// Time.timeScale = 0f;
visible = true;
UnityEngine.Cursor.lockState = CursorLockMode.None;
@@ -109,7 +109,7 @@ public class MenuControls : MonoBehaviour {
void Hide() {
// pause the game
Time.timeScale = 1f;
// Time.timeScale = 1f;
visible = false;
UnityEngine.Cursor.lockState = CursorLockMode.Locked;