From a0b24d0b23640608c1565a25de17f226419e100a Mon Sep 17 00:00:00 2001 From: Hide_D Date: Thu, 11 May 2023 09:28:52 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20crewtype=20=EB=AF=B8=EC=A7=80=EC=A0=95?= =?UTF-8?q?=EC=8B=9C=20=EA=B8=B0=EB=B3=B8=20=EB=B3=91=EC=A2=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/General.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/sammo/General.php b/hwe/sammo/General.php index 7e1731be..03b8b7bc 100644 --- a/hwe/sammo/General.php +++ b/hwe/sammo/General.php @@ -124,7 +124,7 @@ class General implements iAction $this->personalityObj = buildPersonalityClass($raw['personal']); - $this->crewType = GameUnitConst::byID($raw['crewtype'] ?? 'None'); + $this->crewType = GameUnitConst::byID($raw['crewtype'] ?? GameUnitConst::DEFAULT_CREWTYPE); $this->itemObjs['horse'] = buildItemClass($raw['horse']); $this->itemObjs['weapon'] = buildItemClass($raw['weapon']);