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']);