diff --git a/hwe/process_war.php b/hwe/process_war.php index bc2a2494..cdb3f0fd 100644 --- a/hwe/process_war.php +++ b/hwe/process_war.php @@ -606,7 +606,7 @@ function ConquerCity(array $admin, General $general, array $city) { ], 'officer_city = %i',$cityID); //수도였으면 긴급 천도 - if($defenderNationID && $defenderStaticNation == $cityID) { + if($defenderNationID && $defenderStaticNation['capital'] == $cityID) { $minCity = findNextCapital($cityID, $defenderNationID); $minCityName = CityConst::byID($minCity)->name;