긴천 시 도시 참조하는 부분에 Undefined offset 문제 발생하는 것 해결

This commit is contained in:
2018-04-12 03:34:09 +09:00
parent b055baa7d3
commit 2eae9b2062
+3
View File
@@ -1910,6 +1910,9 @@ function ConquerCity($game, $general, $city, $nation, $destnation) {
$maxCityPop = 0;
foreach($distList[$dist] as $cityID){
if(!key_exists($cityID, $cities)){
continue;
}
$city = $cities[$cityID];
'@phan-var array<string,mixed> $city';
if($city['nation'] != $destnation['nation']){