버그 수정

This commit is contained in:
2020-04-25 20:59:13 +09:00
parent 0ff098c2dd
commit a0bc9c996d
+3 -1
View File
@@ -3335,7 +3335,9 @@ class GeneralAI
$setChiefLevel["l{$chiefLevel}set"] = 1;
}
$db->update('nation', $setChiefLevel, 'nation=%i', $this->nation['nation']);
if($setChiefLevel){
$db->update('nation', $setChiefLevel, 'nation=%i', $this->nation['nation']);
}
}
protected function calcCityDevelRate(array $city){