forked from devsam/core
fix: crewtype 미지정시 기본 병종
This commit is contained in:
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user