From 98ca001da6ebda8d8f4cb013c8cf7b1c32b7dd7f Mon Sep 17 00:00:00 2001 From: CaitSith2 Date: Fri, 13 May 2022 08:16:29 -0700 Subject: [PATCH] Fix for variable progression balancing when yaml has progression on/off. --- Options.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Options.py b/Options.py index 2ce42289..6bfbac89 100644 --- a/Options.py +++ b/Options.py @@ -409,9 +409,9 @@ class Range(NumericOption): raise Exception(f"random text \"{text}\" did not resolve to a recognized pattern. Acceptable values are: random, random-high, random-middle, random-low, random-range-low--, random-range-middle--, random-range-high--, or random-range--.") elif text == "default" and hasattr(cls, "default"): return cls(cls.default) - elif text == "high": + elif text in ["high", "true"]: return cls(cls.range_end) - elif text == "low": + elif text in ["low", "false"]: return cls(cls.range_start) return cls(int(text))