1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-07 00:58:39 +02:00

Small cleanup

This commit is contained in:
Dydzio
2023-01-06 21:20:46 +01:00
parent 622e012fcf
commit 4157feb2f3
2 changed files with 1 additions and 30 deletions

View File

@ -1155,6 +1155,7 @@ void CInGameConsole::endEnteringText(bool processEnteredText)
LOCPLINT->cb->sendMessage(txt, LOCPLINT->getSelection());
previouslyEntered.push_back(txt);
//some commands like gosolo don't work when executed from GUI thread
boost::thread clientCommandThread(ClientCommandManager::processCommand, txt, true);
clientCommandThread.join();
}