버그 수정

This commit is contained in:
2020-04-25 20:59:13 +09:00
parent 9ecf6d3735
commit 7bc720be77
+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){