mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
OOT: set default for adult trade start if the set is empty
This commit is contained in:
committed by
Fabian Dill
parent
d48e1e447f
commit
7591404151
@@ -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