mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Merge branch 'rip_compat' into Archipelago_Main
# Conflicts: # MultiServer.py
This commit is contained in:
@@ -470,9 +470,6 @@ async def on_client_connected(ctx: Context, client: Client):
|
||||
# Name them by feature or fork, as you feel is appropriate.
|
||||
'tags': ctx.tags,
|
||||
'version': Utils.version_tuple,
|
||||
# TODO ~0.2.0 remove forfeit_mode and remaining_mode in favor of permissions
|
||||
'forfeit_mode': ctx.forfeit_mode,
|
||||
'remaining_mode': ctx.remaining_mode,
|
||||
'permissions': get_permissions(ctx),
|
||||
'hint_cost': ctx.hint_cost,
|
||||
'location_check_points': ctx.location_check_points,
|
||||
@@ -502,10 +499,6 @@ async def on_client_joined(ctx: Context, client: Client):
|
||||
f"{ctx.get_aliased_name(client.team, client.slot)} (Team #{client.team + 1}) "
|
||||
f"playing {ctx.games[client.slot]} has joined. "
|
||||
f"Client({version_str}), {client.tags}).")
|
||||
# TODO: remove with 0.2
|
||||
if client.version < Version(0, 1, 7):
|
||||
ctx.notify_client(client,
|
||||
"Warning: Your client's datapackage handling may be unsupported soon. (Version < 0.1.7)")
|
||||
|
||||
ctx.client_connection_timers[client.team, client.slot] = datetime.datetime.now(datetime.timezone.utc)
|
||||
|
||||
|
Reference in New Issue
Block a user