From b793b81e4da548f5e1dd012d3b6e2f3db4a84da8 Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 28 Nov 2018 00:26:29 +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 a6f664e1..1729eb2f 100644 --- a/hwe/processing.php +++ b/hwe/processing.php @@ -703,7 +703,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; } @@ -717,6 +717,7 @@ function command_25($turn, $command) { $nation['availableJoin'] = true; } } + unset($nation); ?> 국가에 임관합니다.
@@ -737,7 +738,7 @@ function command_25($turn, $command) { - + @@ -747,7 +748,7 @@ function command_25($turn, $command) { > - + >