Fixed environment.py

This commit is contained in:
Marc Garcia Puig 2020-06-09 17:54:38 +02:00
parent ab46478929
commit c21e823850
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ def apply_lights_to_cars(args, world):
all_vehicles = world.get_actors()
for ve in all_vehicles:
if "vehicle." in ve.type_id:
ve.set_light_state(carla.VehicleLightState(light_mask))
ve.set_light_state(light_mask)
def apply_lights_manager(args, light_manager):
if args.lights is None: