diff --git a/worlds/doom_1993/__init__.py b/worlds/doom_1993/__init__.py index 828563150fed..ace33f994c33 100644 --- a/worlds/doom_1993/__init__.py +++ b/worlds/doom_1993/__init__.py @@ -181,7 +181,7 @@ def set_rules(self): # platform) Unless the user allows for it. if not allow_death_logic: for death_logic_location in Locations.death_logic_locations: - self.multiworld.exclude_locations[self.player].value.add(death_logic_location) + self.options.exclude_locations.value.add(death_logic_location) def create_item(self, name: str) -> DOOM1993Item: item_id: int = self.item_name_to_id[name] diff --git a/worlds/doom_ii/__init__.py b/worlds/doom_ii/__init__.py index 591c472e4005..daad94553517 100644 --- a/worlds/doom_ii/__init__.py +++ b/worlds/doom_ii/__init__.py @@ -172,7 +172,7 @@ def set_rules(self): # platform) Unless the user allows for it. if not allow_death_logic: for death_logic_location in Locations.death_logic_locations: - self.multiworld.exclude_locations[self.player].value.add(death_logic_location) + self.options.exclude_locations.value.add(death_logic_location) def create_item(self, name: str) -> DOOM2Item: item_id: int = self.item_name_to_id[name] diff --git a/worlds/heretic/__init__.py b/worlds/heretic/__init__.py index a0ceed4facb7..c83cdb9477b2 100644 --- a/worlds/heretic/__init__.py +++ b/worlds/heretic/__init__.py @@ -182,7 +182,7 @@ def set_rules(self): # platform) Unless the user allows for it. if not allow_death_logic: for death_logic_location in Locations.death_logic_locations: - self.multiworld.exclude_locations[self.player].value.add(death_logic_location) + self.options.exclude_locations.value.add(death_logic_location) def create_item(self, name: str) -> HereticItem: item_id: int = self.item_name_to_id[name]