WebHost: make a deeply buried if tree for games a bit more automatic

This commit is contained in:
Fabian Dill
2022-07-27 12:01:26 +02:00
committed by black-sliver
parent d817fdcfdb
commit 2ff7e83ad9
2 changed files with 5 additions and 1 deletions

View File

@@ -40,7 +40,7 @@
{% elif patch.game == "Super Mario 64" and room.seed.slots|length == 1 %}
<a href="{{ url_for("download_slot_file", room_id=room.id, player_id=patch.player_id) }}" download>
Download APSM64EX File...</a>
{% elif patch.game in ["A Link to the Past", "Secret of Evermore", "Super Metroid", "SMZ3"] %}
{% elif patch.game | supports_apdeltapatch %}
<a href="{{ url_for("download_patch", patch_id=patch.id, room_id=room.id) }}" download>
Download Patch File...</a>
{% elif patch.game == "Dark Souls III" %}