OOT: set default for adult trade start if the set is empty
This commit is contained in:
parent
d48e1e447f
commit
7591404151
|
@ -1045,6 +1045,11 @@ class AdultTradeStart(OptionSet):
|
||||||
"Claim Check",
|
"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)] = {
|
itempool_options: typing.Dict[str, type(Option)] = {
|
||||||
"item_pool_value": ItemPoolValue,
|
"item_pool_value": ItemPoolValue,
|
||||||
|
|
Loading…
Reference in New Issue