Respect settings from new idac.yaml

This commit is contained in:
UncleJim 2024-01-17 18:06:33 +00:00
parent dba36fff7d
commit 01cf3d2837

View File

@ -51,6 +51,13 @@ class IDACSeason2(IDACBase):
self.timetrial_event_id = self.timetrial_event.get(
"timetrial_event_id"
)
self.now_round_event = None
self.last_round_event = None
if self.game_config.round_event.enable:
self.now_round_event = self.game_config.round_event.now_round_event_id
self.last_round_event = self.now_round_event - 1
#TODO: Load event info from DB
def handle_alive_get_request(self, data: Dict, headers: Dict):
return {