1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Fix freezes while turn ends at hero move

This commit is contained in:
nordsoft
2023-08-14 04:06:26 +04:00
parent e414af221b
commit 0c38187916

View File

@@ -170,6 +170,9 @@ void CPlayerInterface::initGameInterface(std::shared_ptr<Environment> ENV, std::
void CPlayerInterface::playerStartsTurn(PlayerColor player)
{
EVENT_HANDLER_CALLED_BY_CLIENT;
makingTurn = false;
stillMoveHero.setn(STOP_MOVE);
if(GH.windows().findWindows<AdventureMapInterface>().empty())
{