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