공백지 내정이 오르지 않도록 변경
This commit is contained in:
@@ -355,7 +355,7 @@ function preUpdateMonthly() {
|
|||||||
GameConst::$maxTechLevel
|
GameConst::$maxTechLevel
|
||||||
) * 1000;
|
) * 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);
|
$genCnt = Util::valueFit($genCnt, GameConst::$initialNationGenLimit);
|
||||||
$nationType = getNationStaticInfo($nationID)['type'];
|
$nationType = getNationStaticInfo($nationID)['type'];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user