From cc6146631ba72d21a6d508ea86a3ae91ab6c447a Mon Sep 17 00:00:00 2001 From: Jakub Sztuba Date: Fri, 6 Jan 2023 21:52:59 +0100 Subject: [PATCH] Fix for starting new game window on first run --- Assets/NewGame.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/NewGame.cs b/Assets/NewGame.cs index cafd1b20..851320c2 100644 --- a/Assets/NewGame.cs +++ b/Assets/NewGame.cs @@ -30,7 +30,7 @@ public class NewGame : MonoBehaviour int isQuest = 1; PlayerPrefs.SetInt("lumberjack", isQuest); - + /* int isKilled = 0; PlayerPrefs.SetInt("bat0", isKilled); @@ -43,7 +43,7 @@ public class NewGame : MonoBehaviour float health = 10.0f; PlayerPrefs.SetFloat("maxHealth", 10); PlayerPrefs.SetFloat("health", 10); - + PlayerPrefs.SetInt("HasEverPlayed",1); //PlayerPrefs.SetInt("continued", 0); PlayerPrefs.SetInt("rock", 0); // Is it used anywhere? I have not found it