From 95af4554d58d452580b569281e6bb7f508f56442 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 28 May 2024 21:00:32 -0400 Subject: [PATCH] Update WebHostLib/options.py Co-authored-by: Fabian Dill --- WebHostLib/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebHostLib/options.py b/WebHostLib/options.py index 6003c654cd..72e6c19a04 100644 --- a/WebHostLib/options.py +++ b/WebHostLib/options.py @@ -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