Adding some pedestrians generation 3
This commit is contained in:
parent
3ad4cc9a09
commit
3552b1f184
|
@ -95,7 +95,7 @@ def get_actor_blueprints(world, filter, generation):
|
|||
try:
|
||||
int_generation = int(generation)
|
||||
# Check if generation is in available generations
|
||||
if int_generation in [1, 2]:
|
||||
if int_generation in [1, 2, 3]:
|
||||
bps = [x for x in bps if int(x.get_attribute('generation')) == int_generation]
|
||||
return bps
|
||||
else:
|
||||
|
|
|
@ -43,7 +43,7 @@ def get_actor_blueprints(world, filter, generation):
|
|||
try:
|
||||
int_generation = int(generation)
|
||||
# Check if generation is in available generations
|
||||
if int_generation in [1, 2]:
|
||||
if int_generation in [1, 2, 3]:
|
||||
bps = [x for x in bps if int(x.get_attribute('generation')) == int_generation]
|
||||
return bps
|
||||
else:
|
||||
|
|
|
@ -174,7 +174,7 @@ def get_actor_blueprints(world, filter, generation):
|
|||
try:
|
||||
int_generation = int(generation)
|
||||
# Check if generation is in available generations
|
||||
if int_generation in [1, 2]:
|
||||
if int_generation in [1, 2, 3]:
|
||||
bps = [x for x in bps if int(x.get_attribute('generation')) == int_generation]
|
||||
return bps
|
||||
else:
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -37,4 +37,4 @@
|
|||
0.9.12: 20210730_564bcdc
|
||||
0.9.13: 20211112_d5cfa12
|
||||
0.9.14: 20221201_5ec9328
|
||||
Latest: 20230411_d2e0273
|
||||
Latest: 20230616_844219d
|
||||
|
|
Loading…
Reference in New Issue