mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-18 21:38:13 -07:00
Compare commits
2 Commits
plando-cou
...
NewSoupVi-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1357e32afe | ||
|
|
511bb212ed |
@@ -10,7 +10,7 @@ from dataclasses import make_dataclass
|
|||||||
from typing import (Any, Callable, ClassVar, Dict, FrozenSet, List, Mapping, Optional, Set, TextIO, Tuple,
|
from typing import (Any, Callable, ClassVar, Dict, FrozenSet, List, Mapping, Optional, Set, TextIO, Tuple,
|
||||||
TYPE_CHECKING, Type, Union)
|
TYPE_CHECKING, Type, Union)
|
||||||
|
|
||||||
from Options import item_and_loc_options, OptionGroup, PerGameCommonOptions
|
from Options import item_and_loc_options, ItemsAccessibility, OptionGroup, PerGameCommonOptions
|
||||||
from BaseClasses import CollectionState
|
from BaseClasses import CollectionState
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
@@ -480,6 +480,7 @@ class World(metaclass=AutoWorldRegister):
|
|||||||
group = cls(multiworld, new_player_id)
|
group = cls(multiworld, new_player_id)
|
||||||
group.options = cls.options_dataclass(**{option_key: option.from_any(option.default)
|
group.options = cls.options_dataclass(**{option_key: option.from_any(option.default)
|
||||||
for option_key, option in cls.options_dataclass.type_hints.items()})
|
for option_key, option in cls.options_dataclass.type_hints.items()})
|
||||||
|
group.options.accessibility = ItemsAccessibility(ItemsAccessibility.option_items)
|
||||||
|
|
||||||
return group
|
return group
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user