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();