diff --git a/Assembly-CSharp/Console.cs b/Assembly-CSharp/Console.cs index d9fb51a..9ac5fe1 100644 --- a/Assembly-CSharp/Console.cs +++ b/Assembly-CSharp/Console.cs @@ -16,7 +16,7 @@ internal class Console : MonoBehaviour private readonly List _messages = new(25); - private KeyCode _toggleKey = KeyCode.F10; + private KeyCode _toggleKey = KeyCode.C; private int _maxMessageCount = 25; private int _fontSize = 12; @@ -128,7 +128,7 @@ private void LoadSettings() [PublicAPI] public void Update() { - if (!Input.GetKeyDown(_toggleKey)) + if (!(Input.GetKey(KeyCode.LeftControl) || Input.GetKey(KeyCode.LeftCommand)) || !Input.GetKeyDown(_toggleKey)) { return; } diff --git a/Assembly-CSharp/InGameConsoleSettings.cs b/Assembly-CSharp/InGameConsoleSettings.cs index cdba18c..82e5505 100644 --- a/Assembly-CSharp/InGameConsoleSettings.cs +++ b/Assembly-CSharp/InGameConsoleSettings.cs @@ -49,7 +49,7 @@ public class InGameConsoleSettings /// Determines the key used for toggling console /// [JsonConverter(typeof(StringEnumConverter))] - public KeyCode ToggleHotkey = KeyCode.F10; + public KeyCode ToggleHotkey = KeyCode.C; /// /// Determines the maximum messages to be diaplayed in console