Modified also start_recording script

This commit is contained in:
Daniel Santos-Olivan 2021-08-02 13:40:54 +02:00 committed by bernat
parent 3fa0c21e2a
commit 4d9af29506
1 changed files with 6 additions and 1 deletions

View File

@ -90,8 +90,13 @@ def main():
if args.safe:
blueprints = [x for x in blueprints if int(x.get_attribute('number_of_wheels')) == 4]
blueprints = [x for x in blueprints if not x.id.endswith('isetta')]
blueprints = [x for x in blueprints if not x.id.endswith('microlino')]
blueprints = [x for x in blueprints if not x.id.endswith('carlacola')]
blueprints = [x for x in blueprints if not x.id.endswith('cybertruck')]
blueprints = [x for x in blueprints if not x.id.endswith('t2')]
blueprints = [x for x in blueprints if not x.id.endswith('sprinter')]
blueprints = [x for x in blueprints if not x.id.endswith('firetruck')]
blueprints = [x for x in blueprints if not x.id.endswith('ambulance')]
spawn_points = world.get_map().get_spawn_points()
number_of_spawn_points = len(spawn_points)