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

This commit is contained in:
alwaysintreble authored and Fabian Dill committed 2023-03-22 18:39:32 +01:00
1 parent d48e1e447f
commit 7591404151
1 file changed
+5
+5
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,