This commit is contained in:
hujiabin 2022-10-25 21:33:33 +08:00
parent b1dc51850f
commit 3d2d674132

View File

@ -149,8 +149,7 @@ class BattleDataService extends BaseService {
}
//录入战斗记录
$this->saveBattleHistory();
switch ($matchMode) {
case self::MATCH_MODE_PVP:
@ -186,6 +185,8 @@ class BattleDataService extends BaseService {
}
break;
}
//录入战斗记录
$this->saveBattleHistory();
}
private function saveBattleHistory(){