diff --git a/hwe/sammo/Scenario/NPC.php b/hwe/sammo/Scenario/NPC.php index 7ec7c807..32965c4a 100644 --- a/hwe/sammo/Scenario/NPC.php +++ b/hwe/sammo/Scenario/NPC.php @@ -161,6 +161,9 @@ class NPC{ '@phan-var array $cityObj'; $city = $cityObj['id']; } + else{ + $city = CityHelper::getCityByName($city)['id']; + } $experience = $age * 100; $dedication = $age * 100;