OOT: set default for adult trade start if the set is empty

This commit is contained in:
alwaysintreble
2023-03-18 20:37:06 -05:00
committed by Fabian Dill
parent d48e1e447f
commit 7591404151

View File

@@ -1045,6 +1045,11 @@ class AdultTradeStart(OptionSet):
"Claim Check",
}
def __init__(self, value: typing.Iterable[str]):
if not value:
value = self.default
super().__init__(value)
itempool_options: typing.Dict[str, type(Option)] = {
"item_pool_value": ItemPoolValue,