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

@@ -243,6 +243,8 @@ class ServerLabel(HovererableLabel):
f"\nYou currently have {ctx.hint_points} points."
elif ctx.hint_cost == 0:
text += "\n!hint is free to use."
if ctx.stored_data and "race_mode" in ctx.stored_data:
text += "\nRace mode is enabled." if ctx.stored_data["race_mode"] else "\nRace mode is disabled."
else:
text += f"\nYou are not authenticated yet."