From 9ac3d0373b86822cb93b9de9002186b0ccbf500b Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 4 May 2019 00:47:25 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BF=BC=EB=A6=AC=20=EC=88=98=EC=A0=95?= 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 66d31e1a..8a68429e 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 WHERE nation != 0') as [$genCnt, $nationID]){ + foreach($db->queryAllLists('SELECT count(no), nation FROM general WHERE nation != 0 GROUP BY nation') as [$genCnt, $nationID]){ $genCnt = Util::valueFit($genCnt, GameConst::$initialNationGenLimit); $nationType = getNationStaticInfo($nationID)['type'];