From 6a56d86862f8a4c666fc6f60537dee0073051937 Mon Sep 17 00:00:00 2001 From: Clyybber Date: Wed, 6 Jan 2021 03:05:06 +0100 Subject: [PATCH] Enable FocusOOC and FocusAdminChat keybinds in lobby screen (#2917) --- Content.Client/State/LobbyState.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Content.Client/State/LobbyState.cs b/Content.Client/State/LobbyState.cs index 7fcb82826c..d2e4f90ec8 100644 --- a/Content.Client/State/LobbyState.cs +++ b/Content.Client/State/LobbyState.cs @@ -70,6 +70,12 @@ namespace Content.Client.State _inputManager.SetInputCommand(ContentKeyFunctions.FocusChat, InputCmdHandler.FromDelegate(s => GameScreen.FocusChat(_lobby.Chat))); + _inputManager.SetInputCommand(ContentKeyFunctions.FocusOOC, + InputCmdHandler.FromDelegate(s => GameScreen.FocusOOC(_lobby.Chat))); + + _inputManager.SetInputCommand(ContentKeyFunctions.FocusAdminChat, + InputCmdHandler.FromDelegate(s => GameScreen.FocusAdminChat(_lobby.Chat))); + UpdateLobbyUi(); _lobby.CharacterPreview.CharacterSetupButton.OnPressed += args =>