diff --git a/Assets/Scripts/UiController.cs b/Assets/Scripts/UiController.cs index 8b9e427..996df44 100644 --- a/Assets/Scripts/UiController.cs +++ b/Assets/Scripts/UiController.cs @@ -19,9 +19,9 @@ public class UiController : MonoBehaviour Cursor.lockState = CursorLockMode.None; Cursor.visible = true; - PlayerController.LoadSave(); + this.LoadSave(); } - static void SaveGame() + void SaveGame() { PlayerPrefs.SetInt(PlayerController.highScore); PlayerPrefs.Save();