Core: add race mode to multidata and datastore (#4017)

* add race mode to multidata and datastore

* have commonclient check race mode on connect and add it to the tooltip ui
This commit is contained in:
Aaron Wagener
2024-10-01 14:08:13 -05:00
committed by GitHub
parent 8193fa12b2
commit 67f6b458d7
4 changed files with 7 additions and 0 deletions

View File

@@ -325,6 +325,7 @@ class CommonContext:
"collect": "disabled",
"remaining": "disabled",
}
self.race_mode: int = 0
# own state
self.finished_game = False
@@ -454,6 +455,7 @@ class CommonContext:
if kwargs:
payload.update(kwargs)
await self.send_msgs([payload])
await self.send_msgs([{"cmd": "Get", "keys": ["race_mode"]}])
async def console_input(self) -> str:
if self.ui: