From 392aaa343d41d0ff6c41304cfd8f78ff594bd123 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sun, 2 Oct 2022 19:36:17 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20calcGenType=EC=9D=84=20updateInstance()?= =?UTF-8?q?=EB=A1=9C=20=EC=9D=B4=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/GeneralAI.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hwe/sammo/GeneralAI.php b/hwe/sammo/GeneralAI.php index 17eb508e..3604180f 100644 --- a/hwe/sammo/GeneralAI.php +++ b/hwe/sammo/GeneralAI.php @@ -137,6 +137,8 @@ class GeneralAI $this->nation['aux'] = Json::decode($this->nation['aux'] ?? '{}'); $this->calcDiplomacyState(); + + $this->genType = $this->calcGenType($general); } public function __construct(protected General $general) @@ -160,8 +162,6 @@ class GeneralAI $this->fullLeadership = $general->getLeadership(false); $this->fullStrength = $general->getStrength(false); $this->fullIntel = $general->getIntel(false); - - $this->genType = $this->calcGenType($general); } public function getGeneralObj(): General