changeset 15985 | a4630009e733 |
parent 15984 | 6a985a680c44 |
child 16004 | 2146cb7be36f |
--- 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();