Tweak chatting so you can finally use keybinds OTHER than TAB/~ for chat/radio chat by disabling those keybinds when the chat box is active. This is not a problem anymore because pressing enter stops the chat box.
This is a positive change since this is a lot more "industry standard" than the previous system, which initially was very confusing and unfamiliar (at least personally).
This commit is contained in:
@@ -223,7 +223,7 @@ namespace Barotrauma.Networking
|
||||
//tab doesn't autoselect the chatbox when debug console is open,
|
||||
//because tab is used for autocompleting console commands
|
||||
if ((PlayerInput.KeyHit(InputType.Chat) || PlayerInput.KeyHit(InputType.RadioChat)) &&
|
||||
chatMsgBox.Visible && !DebugConsole.IsOpen)
|
||||
chatMsgBox.Visible && !DebugConsole.IsOpen && GUIComponent.KeyboardDispatcher.Subscriber == null)
|
||||
{
|
||||
if (chatMsgBox.Selected)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user