Fix pause menu can only be displayed after game started

This commit is contained in:
alexis committed 2023-10-23 12:00:02 +02:00
1 parent 600545e0f1
commit d7a2ae1131
3 files changed
+5 -2

No files matched your search

+3
View File
@@ -7,6 +7,9 @@ public class GameManager : MonoBehaviour
public static int MinautorKills = 0;
public static int BringerOfDeathKills = 0;
// Can pause menu
public static bool GameStarted = false;
private void Awake()
{
DontDestroyOnLoad(gameObject);