Explorar o código

Fix crash on summon guardians ability

Ivan Savenko hai 1 ano
pai
achega
b5307948c5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);
 }