forked from mirror/Archipelago
OOT: set default for adult trade start if the set is empty
This commit is contained in:
1 parent
d48e1e447f
commit
7591404151
1 file changed
+5
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user