Fix for starting new game window on first run
This commit is contained in:
parent
134500c1eb
commit
cc6146631b
@ -43,7 +43,7 @@ public class NewGame : MonoBehaviour
|
|||||||
float health = 10.0f;
|
float health = 10.0f;
|
||||||
PlayerPrefs.SetFloat("maxHealth", 10);
|
PlayerPrefs.SetFloat("maxHealth", 10);
|
||||||
PlayerPrefs.SetFloat("health", 10);
|
PlayerPrefs.SetFloat("health", 10);
|
||||||
|
PlayerPrefs.SetInt("HasEverPlayed",1);
|
||||||
//PlayerPrefs.SetInt("continued", 0);
|
//PlayerPrefs.SetInt("continued", 0);
|
||||||
|
|
||||||
PlayerPrefs.SetInt("rock", 0); // Is it used anywhere? I have not found it
|
PlayerPrefs.SetInt("rock", 0); // Is it used anywhere? I have not found it
|
||||||
|
Loading…
Reference in New Issue
Block a user