forked from Dniel97/artemis
Respect settings from new idac.yaml
This commit is contained in:
parent
dba36fff7d
commit
01cf3d2837
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user