mirror of
https://git.sdf.org/tamservo/robottas.git
synced 2025-11-08 07:03:47 -05:00
Fix driverlist for unknown drivers
This commit is contained in:
@@ -398,7 +398,8 @@ class Robottas(commands.Bot):
|
|||||||
if driver_num in self.driver_dict.keys():
|
if driver_num in self.driver_dict.keys():
|
||||||
driver = self.driver_dict[driver_num]
|
driver = self.driver_dict[driver_num]
|
||||||
|
|
||||||
self.driver_list[int(position) - 1] = self.driver_dict[driver_num]
|
#self.driver_list[int(position) - 1] = self.driver_dict[driver_num]
|
||||||
|
self.driver_list[int(postion) - 1] = driver
|
||||||
|
|
||||||
# Load lap data
|
# Load lap data
|
||||||
if 'LapCount' in message['R'].keys():
|
if 'LapCount' in message['R'].keys():
|
||||||
|
|||||||
Reference in New Issue
Block a user