Skip to content

Commit

Permalink
Fix changed method name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gamenot committed Apr 11, 2023
1 parent fac1237 commit 0c6b139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smarts/core/actor_capture_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def __make_new_social_vehicle(sim, agent_id, initial_speed):
social_agent_spec,
social_agent_model,
)
vehicles = sim.vehicle_index.vehicles_by_actor_id(agent_id)
vehicles = sim.vehicle_index.vehicles_by_owner_id(agent_id)

return vehicles[0] if len(vehicles) else None

Expand Down

0 comments on commit 0c6b139

Please sign in to comment.