From f4ca4431da4c722ebd3811839f83f28014d87569 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 26 Apr 2020 04:02:16 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/GeneralAI.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hwe/sammo/GeneralAI.php b/hwe/sammo/GeneralAI.php index ac880b27..a66ccd95 100644 --- a/hwe/sammo/GeneralAI.php +++ b/hwe/sammo/GeneralAI.php @@ -3264,7 +3264,8 @@ class GeneralAI $db = DB::db(); $setChiefLevel = []; - foreach(Util::range(getNationChiefLevel($this->nation['level']), 12) as $chiefLevel){ + $minChiefLevel = getNationChiefLevel($this->nation['level']); + foreach(Util::range($minChiefLevel, 12) as $chiefLevel){ if($this->nation["l{$chiefLevel}set"]){ continue; }