From 2eae9b2062b53afd6ed53242c6e34e9b21ab57f6 Mon Sep 17 00:00:00 2001 From: hide_d Date: Thu, 12 Apr 2018 03:34:09 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B8=B4=EC=B2=9C=20=EC=8B=9C=20=EB=8F=84?= =?UTF-8?q?=EC=8B=9C=20=EC=B0=B8=EC=A1=B0=ED=95=98=EB=8A=94=20=EB=B6=80?= =?UTF-8?q?=EB=B6=84=EC=97=90=20Undefined=20offset=20=EB=AC=B8=EC=A0=9C=20?= =?UTF-8?q?=EB=B0=9C=EC=83=9D=ED=95=98=EB=8A=94=20=EA=B2=83=20=ED=95=B4?= =?UTF-8?q?=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/process_war.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hwe/process_war.php b/hwe/process_war.php index 3f902e1b..c9b6f0ba 100644 --- a/hwe/process_war.php +++ b/hwe/process_war.php @@ -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 $city'; if($city['nation'] != $destnation['nation']){