Ver Fonte

Fix crash on summon guardians ability

Ivan Savenko há 1 ano atrás
pai
commit
b5307948c5
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      server/battles/BattleFlowProcessor.cpp

+ 1 - 0
server/battles/BattleFlowProcessor.cpp

@@ -181,6 +181,7 @@ void BattleFlowProcessor::trySummonGuardians(const CBattleInfoCallback & battle,
 	// send empty event to client
 	// temporary(?) workaround to force animations to trigger
 	StacksInjured fakeEvent;
+	fakeEvent.battleID = battle.getBattle()->getBattleID();
 	gameHandler->sendAndApply(&fakeEvent);
 }