Pārlūkot izejas kodu

Reset battle bonuses on client side

nordsoft 2 gadi atpakaļ
vecāks
revīzija
39f4bc0072
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      client/Client.cpp

+ 1 - 0
client/Client.cpp

@@ -630,6 +630,7 @@ void CClient::battleFinished()
 		battleCallbacks[PlayerColor::SPECTATOR]->setBattle(nullptr);
 		battleCallbacks[PlayerColor::SPECTATOR]->setBattle(nullptr);
 
 
 	setBattle(nullptr);
 	setBattle(nullptr);
+	gs->curB.dellNull();
 }
 }
 
 
 void CClient::startPlayerBattleAction(PlayerColor color)
 void CClient::startPlayerBattleAction(PlayerColor color)