Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Assembly-CSharp/Console.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ internal class Console : MonoBehaviour

private readonly List<string> _messages = new(25);

private KeyCode _toggleKey = KeyCode.F10;
private KeyCode _toggleKey = KeyCode.C;
private int _maxMessageCount = 25;
private int _fontSize = 12;

Expand Down Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion Assembly-CSharp/InGameConsoleSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class InGameConsoleSettings
/// Determines the key used for toggling console
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public KeyCode ToggleHotkey = KeyCode.F10;
public KeyCode ToggleHotkey = KeyCode.C;

/// <summary>
/// Determines the maximum messages to be diaplayed in console
Expand Down
Loading