From e0628ec6c9adb8d6bb6516649b91b6980bde4285 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Mon, 31 Jan 2022 10:11:39 +0100 Subject: [PATCH] WebHost: correct some texts --- MultiServer.py | 3 ++- WebHostLib/templates/generate.html | 4 ++-- WebHostLib/templates/hostGame.html | 4 ---- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/MultiServer.py b/MultiServer.py index e41b43e7..13f8614e 100644 --- a/MultiServer.py +++ b/MultiServer.py @@ -1448,7 +1448,8 @@ async def process_client_cmd(ctx: Context, client: Client, args: dict): return target_item, target_player, flags = ctx.locations[client.slot][location] - if create_as_hint: hints.extend(collect_hint_location_id(ctx, client.team, client.slot, location)) + if create_as_hint: + hints.extend(collect_hint_location_id(ctx, client.team, client.slot, location)) locs.append(NetworkItem(target_item, location, target_player, flags)) notify_hints(ctx, client.team, hints) await ctx.send_msgs(client, [{'cmd': 'LocationInfo', 'locations': locs}]) diff --git a/WebHostLib/templates/generate.html b/WebHostLib/templates/generate.html index 6fefb1e2..341fde34 100644 --- a/WebHostLib/templates/generate.html +++ b/WebHostLib/templates/generate.html @@ -18,8 +18,8 @@ which you can find via the supported games list.

- Note: this website will always generate games using the current release version of Archipelago, - currently v{{ version }}. + Note: This website will always generate games using the current release version of Archipelago, + currently {{ version }}.

{% if race -%} diff --git a/WebHostLib/templates/hostGame.html b/WebHostLib/templates/hostGame.html index 36c0ace1..7e3c9b31 100644 --- a/WebHostLib/templates/hostGame.html +++ b/WebHostLib/templates/hostGame.html @@ -19,10 +19,6 @@ host the game here. This will also provide a tracker, and the ability for your players to download their patch files.

-

- Note: this website will only host games generated using the current release version of Archipelago, - currently v{{ version }}. -

In addition to the zip file created by the generator, you may upload a multidata file here as well.