mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-26 08:23:22 -07:00
Update WebHostLib/options.py
Co-authored-by: Fabian Dill <Berserker66@users.noreply.github.com>
This commit is contained in:
@@ -184,7 +184,7 @@ def generate_yaml(game: str):
|
||||
del options[key]
|
||||
|
||||
# Detect keys which end with -custom, indicating a TextChoice with a possible custom value
|
||||
if key_parts[-1].endswith("-custom"):
|
||||
elif key_parts[-1].endswith("-custom"):
|
||||
if val:
|
||||
options[key_parts[-1][:-7]] = val
|
||||
|
||||
|
||||
Reference in New Issue
Block a user