diff --git a/hwe/func_gamerule.php b/hwe/func_gamerule.php index e9993ed5..66d31e1a 100644 --- a/hwe/func_gamerule.php +++ b/hwe/func_gamerule.php @@ -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'];