버그 수정

This commit is contained in:
2020-04-26 03:36:40 +09:00
parent 667cf4062f
commit be282db1c2
+3 -1
View File
@@ -3353,6 +3353,7 @@ class GeneralAI
$minBelong = min($this->general->getVar('belong') - 1, 3);
$updatedNationVar = [];
/** @var General[] */
$nextChiefs = [];
@@ -3381,6 +3382,7 @@ class GeneralAI
$general->setVar('officer_level', 11);
$general->setVar('officer_city', 0);
$nation['l11set'] = true;
$updatedNationVar['l11set'] = 1;
break;
}
}
@@ -3397,7 +3399,7 @@ class GeneralAI
});
$updatedNationVar = [];
foreach(Util::range(11, $minChiefLevel-1, -1) as $chiefLevel) {
$nationKey = "l{$chiefLevel}set";
if($nation[$nationKey]){