fix check on half distance

This commit is contained in:
tamservo 2024-12-08 09:41:08 -05:00
parent 4d288e871c
commit 93364b8580

View File

@ -180,7 +180,7 @@ class Robottas(commands.Bot):
self.total_laps = int(data["TotalLaps"])
#Check to see about sending half distance message
if self.current_lap > int(self.total_laps / 2):
if self.current_lap = int(self.total_laps / 2) + 1:
await self.send_message("We've passed half distance! Has Lance binned it yet?")
# Notify on lap change if matches a driver