From 6bef0236836c22b738e0d84203f5e82080802d8c Mon Sep 17 00:00:00 2001 From: Ivory <104021374+golddemon1973@users.noreply.github.com> Date: Thu, 7 May 2026 16:50:29 +0200 Subject: [PATCH] Change: now makes console hotkey more accessible on various devices --- Assembly-CSharp/Console.cs | 4 ++-- Assembly-CSharp/InGameConsoleSettings.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Assembly-CSharp/Console.cs b/Assembly-CSharp/Console.cs index d9fb51a4..9ac5fe19 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 cdba18cb..82e55050 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