Fix for starting new game window on first run
This commit is contained in:
parent
134500c1eb
commit
cc6146631b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user