fix: crewtype 미지정시 기본 병종

This commit is contained in:
2023-05-11 09:28:52 +09:00
parent 41285be62d
commit a0b24d0b23
+1 -1
View File
@@ -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']);