From aef1cbd20121aa60c90670dc2147f894b5c8e457 Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 25 Jan 2022 00:44:44 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B4=89=EA=B8=89=20=EA=B3=84=EC=82=B0?= =?UTF-8?q?=EC=97=90=EC=84=9C=20=EB=B6=80=EB=8C=80=EC=9E=A5=20=EC=B2=98?= =?UTF-8?q?=EB=A6=AC=EB=A5=BC=20=ED=95=98=EC=A7=80=20=EC=95=8A=EC=9D=80=20?= =?UTF-8?q?=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95=20-=20=EC=A0=84?= =?UTF-8?q?=EC=B2=B4=20=EC=A7=80=EC=B6=9C=20=EA=B3=84=EC=82=B0=EC=97=90?= =?UTF-8?q?=EB=A7=8C=20=EC=8B=A4=EC=88=98=20=EB=B0=9C=EC=83=9D?= 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 fd14f1b7..08189fb8 100644 --- a/hwe/sammo/GeneralAI.php +++ b/hwe/sammo/GeneralAI.php @@ -4137,7 +4137,7 @@ class GeneralAI $dedicationList = array_map(function (General $general) { return $general->getRaw(); }, array_filter($this->nationGenerals, function (General $rawGeneral) { - return $rawGeneral->getVar('officer_level') != 5; + return $rawGeneral->getVar('npc') != 5; })); $riceIncome = getRiceIncome($nation['nation'], $nation['level'], $nation['rate'], $nation['capital'], $nation['type'], $cityList);