From 8dd55ae0366bb40ebed565e47498191b34eb82ba Mon Sep 17 00:00:00 2001 From: hide_d Date: Mon, 8 Apr 2019 01:33:49 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9E=A5=EC=88=98=EC=88=98=20>=2010,=20?= =?UTF-8?q?=EC=A7=91=ED=95=A9=EC=9E=A5=20=EC=A0=9C=EC=99=B8=20=EC=9E=A5?= =?UTF-8?q?=EC=88=98=EC=88=98=20<=2010=EC=9D=BC=20=EB=95=8C,=20=EA=B8=B0?= =?UTF-8?q?=EC=88=A0=EC=9D=B4=20=EA=B3=BC=EB=8F=84=ED=95=98=EA=B2=8C=20?= =?UTF-8?q?=EC=98=A4=EB=A5=B4=EB=8A=94=EB=B2=84=EA=B7=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_process.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/func_process.php b/hwe/func_process.php index adf21e83..1410e19d 100644 --- a/hwe/func_process.php +++ b/hwe/func_process.php @@ -373,7 +373,7 @@ function process_3(&$general) { $gencount = $db->queryFirstField('SELECT count(no) FROM general WHERE nation=%i', $general['nation']); $gencnt_eff = $db->queryFirstField('SELECT count(no) FROM general WHERE nation=%i AND npc != 5', $general['nation']); if ($gencnt_eff < GameConst::$initialNationGenLimit) { - $gencount = GameConst::$initialNationGenLimit; + $gencount = max(GameConst::$initialNationGenLimit, $gencount); $gencnt_eff = GameConst::$initialNationGenLimit; }