공백지 내정이 오르지 않도록 변경

This commit is contained in:
2019-05-04 00:44:47 +09:00
parent 88dd2ea7ac
commit 78b3ffacd2
+1 -1
View File
@@ -355,7 +355,7 @@ function preUpdateMonthly() {
GameConst::$maxTechLevel
) * 1000;
foreach($db->queryAllLists('SELECT count(no), nation FROM general GROUP BY nation') as [$genCnt, $nationID]){
foreach($db->queryAllLists('SELECT count(no), nation FROM general GROUP BY nation WHERE nation != 0') as [$genCnt, $nationID]){
$genCnt = Util::valueFit($genCnt, GameConst::$initialNationGenLimit);
$nationType = getNationStaticInfo($nationID)['type'];