버그 수정

This commit is contained in:
2020-04-26 04:08:47 +09:00
parent f4ca4431da
commit baf4d3aa98
+6
View File
@@ -3272,6 +3272,9 @@ class GeneralAI
if(key_exists($chiefLevel, $this->chiefGenerals)){
continue;
}
if($this->general->getVar('officer_level') == $chiefLevel){
continue;
}
$picked = false;
@@ -3402,6 +3405,9 @@ class GeneralAI
if($nation[$nationKey]){
continue;
}
if($this->general->getVar('officer_level') === $chiefLevel){
continue;
}
if(!key_exists($chiefLevel, $this->chiefGenerals) && !key_exists($chiefLevel, $nextChiefs)){
$newChiefProb = 1;