From a4d969e2be3028a6a9498cdb6d22c15ded5c50bd Mon Sep 17 00:00:00 2001 From: Jakub Sztuba Date: Thu, 5 Jan 2023 14:25:32 +0100 Subject: [PATCH] Minor fix with controlls by Escape key --- Assets/Scripts/KeyBindScript.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/KeyBindScript.cs b/Assets/Scripts/KeyBindScript.cs index 0f3f9996..3b946bfe 100644 --- a/Assets/Scripts/KeyBindScript.cs +++ b/Assets/Scripts/KeyBindScript.cs @@ -35,7 +35,7 @@ public class KeyBindScript : MonoBehaviour void Start() { keys.Add("Interact",(KeyCode)System.Enum.Parse(typeof(KeyCode), PlayerPrefs.GetString("Interact","E"))); - keys.Add("Settings",(KeyCode)System.Enum.Parse(typeof(KeyCode), PlayerPrefs.GetString("Settings","Esc"))); + keys.Add("Settings",(KeyCode)System.Enum.Parse(typeof(KeyCode), PlayerPrefs.GetString("Settings","Escape"))); keys.Add("Inventory",(KeyCode)System.Enum.Parse(typeof(KeyCode), PlayerPrefs.GetString("Inventory","I"))); keys.Add("Skills",(KeyCode)System.Enum.Parse(typeof(KeyCode), PlayerPrefs.GetString("Skills","U"))); keys.Add("Attack",(KeyCode)System.Enum.Parse(typeof(KeyCode), PlayerPrefs.GetString("Attack","Space")));