버그 수정

This commit is contained in:
2019-04-21 16:06:27 +09:00
parent f8bcfba90e
commit d46b3154cc
4 changed files with 8 additions and 6 deletions
+3 -2
View File
@@ -1735,6 +1735,7 @@ class GeneralAI{
while(key_exists($candidate, $promoted)){
$iterCurrentType->next();
$candidate = $iterCurrentType->current();
}
$chiefCandidate[$cheifLevel] = $candidate;
@@ -1779,7 +1780,7 @@ class GeneralAI{
$db->update('nation', [
'war'=>0,
'rate'=>$rate
]);
], 'nation=%i', $nationID);
return $rate;
}
}
@@ -1806,7 +1807,7 @@ class GeneralAI{
return $bill;
}
protected function caclRiceBillRate():int{
protected function calcRiceBillRate():int{
$db = DB::db();
$nation = $this->nation;
$env = $this->env;