浏览代码

Try to fix battle startup if player has waiting dialogs

Ivan Savenko 1 年之前
父节点
当前提交
b94a61c255
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      client/CPlayerInterface.cpp

+ 1 - 1
client/CPlayerInterface.cpp

@@ -621,7 +621,7 @@ void CPlayerInterface::battleStartBefore(const BattleID & battleID, const CCreat
 	movementController->onBattleStarted();
 
 	//Don't wait for dialogs when we are non-active hot-seat player
-	if (LOCPLINT == this)
+	if (makingTurn)
 		waitForAllDialogs();
 }