浏览代码

Reset battle bonuses on client side

nordsoft 2 年之前
父节点
当前提交
39f4bc0072
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      client/Client.cpp

+ 1 - 0
client/Client.cpp

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