Browse Source

Fix crash on summon guardians ability

Ivan Savenko 1 năm trước cách đây
mục cha
commit
b5307948c5
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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);
 }