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) { > - + >