Python client: fix cast failed due to too big number in settings file

This commit is contained in:
nsubiron 2017-09-26 18:21:49 +02:00
parent c82c015d14
commit 87b98127e8
1 changed files with 2 additions and 2 deletions

View File

@ -76,8 +76,8 @@ class CarlaSettings(object):
return self.NumberOfVehicles + self.NumberOfPedestrians
def randomize_seeds(self):
self.SeedVehicles = random.getrandbits(32)
self.SeedPedestrians = random.getrandbits(32)
self.SeedVehicles = random.getrandbits(16)
self.SeedPedestrians = random.getrandbits(16)
def randomize_weather(self):
self.WeatherId = random.randint(-1, MAX_NUMBER_OF_WEATHER_IDS)