Browse Source

Merge pull request #5883 from IvanSavenko/opening_spell_freeze_fix

Fix freeze on battle opening spell & add debug logging
Ivan Savenko 3 months ago
parent
commit
2774502526
1 changed files with 2 additions and 0 deletions
  1. 2 0
      client/battle/BattleInterface.cpp

+ 2 - 0
client/battle/BattleInterface.cpp

@@ -364,6 +364,8 @@ void BattleInterface::battleFinished(const BattleResult& br, QueryID queryID)
 
 void BattleInterface::spellCast(const BattleSpellCast * sc)
 {
+	waitForAnimations();
+
 	// Do not deactivate anything in tactics mode
 	// This is battlefield setup spells
 	if(!tacticsMode)