From 65c84a29e14120e28262269c7a7fd8ebbf550217 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sat, 16 Mar 2024 18:07:42 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B0=A9=EB=9E=91=EA=B5=B0=EC=9D=B4?= =?UTF-8?q?=EB=8F=99=EC=8B=9C=20=ED=98=84=EC=9E=AC=20=EC=86=8C=EC=9E=AC=20?= =?UTF-8?q?=EC=9C=84=EC=B9=98=20=ED=99=95=EC=9D=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/GeneralAI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/sammo/GeneralAI.php b/hwe/sammo/GeneralAI.php index 58d74f8a..756aff34 100644 --- a/hwe/sammo/GeneralAI.php +++ b/hwe/sammo/GeneralAI.php @@ -3121,7 +3121,7 @@ class GeneralAI $db = DB::db(); $dupLord = $db->queryFirstField('SELECT COUNT(*) FROM general WHERE officer_level = 12 AND city = %i', $this->general->getCityID()); - if($dupLord <= 1) { + if($dupLord <= 1 && !in_array($this->general->getRawCity()['level'], [5, 6])) { return null; }