fix: 성벽 선제가 호출조차 되지 않는 버그 수정

This commit is contained in:
2023-05-11 01:58:16 +09:00
parent 265a5ebf5c
commit fd6405ea97
6 changed files with 18 additions and 6 deletions
+1 -1
View File
@@ -409,7 +409,7 @@ function simulateBattle(
);
}
if(count($defenderList) == 0 && extractBattleOrder($city, $attacker) > 0){
if(count($defenderList) && extractBattleOrder($city, $attacker) > 0){
$defenderList[] = $city;
}