버그 수정
This commit is contained in:
1 parent
8208a3c3e3
commit
79b3e6882a
1 file changed
+6
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user