Tab doesn't autoselect the chatbox when the debug console is open
This commit is contained in:
@@ -215,7 +215,9 @@ namespace Barotrauma.Networking
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (PlayerInput.KeyHit(InputType.Chat) && chatMsgBox.Visible)
|
//tab doesn't autoselect the chatbox when debug console is open,
|
||||||
|
//because tab is used for autocompleting console commands
|
||||||
|
if (PlayerInput.KeyHit(InputType.Chat) && chatMsgBox.Visible && !DebugConsole.IsOpen)
|
||||||
{
|
{
|
||||||
if (chatMsgBox.Selected)
|
if (chatMsgBox.Selected)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user