버그 수정
This commit is contained in:
@@ -3272,6 +3272,9 @@ class GeneralAI
|
|||||||
if(key_exists($chiefLevel, $this->chiefGenerals)){
|
if(key_exists($chiefLevel, $this->chiefGenerals)){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if($this->general->getVar('officer_level') == $chiefLevel){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
$picked = false;
|
$picked = false;
|
||||||
@@ -3402,6 +3405,9 @@ class GeneralAI
|
|||||||
if($nation[$nationKey]){
|
if($nation[$nationKey]){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if($this->general->getVar('officer_level') === $chiefLevel){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if(!key_exists($chiefLevel, $this->chiefGenerals) && !key_exists($chiefLevel, $nextChiefs)){
|
if(!key_exists($chiefLevel, $this->chiefGenerals) && !key_exists($chiefLevel, $nextChiefs)){
|
||||||
$newChiefProb = 1;
|
$newChiefProb = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user