# HG changeset patch # User Wuzzy # Date 1684965508 -7200 # Node ID a4630009e7330582baf75587739ddb76263be186 # Parent 6a985a680c448c87e2447198b00a8270797a0b61 Close Esc menu when chat opens diff -r 6a985a680c44 -r a4630009e733 hedgewars/uChat.pas --- a/hedgewars/uChat.pas Wed May 24 23:54:58 2023 +0200 +++ b/hedgewars/uChat.pas Wed May 24 23:58:28 2023 +0200 @@ -788,6 +788,8 @@ procedure OpenChat(s: shortstring); var i: Integer; begin + if GameState = gsConfirm then + ParseCommand('quit', true); isInChatMode:= true; SDL_StopTextInput(); SDL_StartTextInput();