From 214c2ba0ad68a9d813cc25d31b1e263d30d2e4ce Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 7 Apr 2019 20:40:30 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9E=84=EA=B4=80=ED=84=B4=EC=9D=B4=20?= =?UTF-8?q?=EC=96=B4=EC=B0=8C=EC=A0=80=EC=B0=8C=20=EC=96=B4=EA=B1=B0?= =?UTF-8?q?=EC=A7=80=EB=A1=9C=20=EB=8F=99=EC=9E=91=ED=95=98=EB=8D=98=20?= =?UTF-8?q?=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/processing.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hwe/processing.php b/hwe/processing.php index b39619dc..1017e717 100644 --- a/hwe/processing.php +++ b/hwe/processing.php @@ -698,7 +698,7 @@ function command_25($turn, $command) { $nationList = $db->query('SELECT nation,`name`,color,scout,scoutmsg,gennum FROM nation ORDER BY rand()'); - foreach($nationList as $nation){ + foreach($nationList as &$nation){ if ($onlyRandom && TimeUtil::IsRangeMonth($gameStor->init_year, $gameStor->init_month, 1, $gameStor->year, $gameStor->month) && $nation['gennum'] >= GameConst::$initialNationGenLimitForRandInit) { $nation['availableJoin'] = false; } @@ -712,6 +712,7 @@ function command_25($turn, $command) { $nation['availableJoin'] = true; } } + unset($nation); ?> 국가에 임관합니다.
@@ -732,7 +733,7 @@ function command_25($turn, $command) { - + @@ -742,7 +743,7 @@ function command_25($turn, $command) { > - + >