fix: 성벽 선제가 호출조차 되지 않는 버그 수정
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ function processWar(string $warSeed, General $attackerGeneral, array $rawAttacke
|
||||
$defenderList[] = $defenderCandidate;
|
||||
}
|
||||
|
||||
if(count($defenderList) == 0 && extractBattleOrder($city, $attacker) > 0){
|
||||
if(count($defenderList) && extractBattleOrder($city, $attacker) > 0){
|
||||
$defenderList[] = $city;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user