diff --git a/src/main/scala/beam/agentsim/agents/household/HouseholdFleetManager.scala b/src/main/scala/beam/agentsim/agents/household/HouseholdFleetManager.scala index 1f39666be49..bf92ad135e1 100644 --- a/src/main/scala/beam/agentsim/agents/household/HouseholdFleetManager.scala +++ b/src/main/scala/beam/agentsim/agents/household/HouseholdFleetManager.scala @@ -152,7 +152,7 @@ class HouseholdFleetManager( rest case _ => logger.error(s"THE LIST OF VEHICLES SHOULDN'T BE EMPTY") - Nil + availableVehicles } } } @@ -168,7 +168,7 @@ class HouseholdFleetManager( case _ => logger.debug(s"Not returning vehicle because no default is defined or agent is not at home") sender() ! MobilityStatusResponse(Vector(), triggerId) - Nil + availableVehicles } }