From a1b7db1ef191951fb5987f41fe54938eaf7a961c Mon Sep 17 00:00:00 2001 From: nexovec Date: Sat, 29 Jan 2022 22:46:05 +0100 Subject: [PATCH] fixed UiController error --- Assets/Scripts/UiController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();