Update WebHostLib/options.py

Co-authored-by: Fabian Dill <Berserker66@users.noreply.github.com>
This commit is contained in:
Chris Wilson
2024-05-28 21:00:32 -04:00
committed by GitHub
parent e95a850f11
commit 95af4554d5

View File

@@ -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