From 78b3ffacd2ad5318e1fb7c18f19eb6d7aa3c7aae Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 4 May 2019 00:44:47 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B3=B5=EB=B0=B1=EC=A7=80=20=EB=82=B4?= =?UTF-8?q?=EC=A0=95=EC=9D=B4=20=EC=98=A4=EB=A5=B4=EC=A7=80=20=EC=95=8A?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_gamerule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];