Skip to content

Commit

Permalink
Removing old option getters (ArchipelagoMW#3285)
Browse files Browse the repository at this point in the history
  • Loading branch information
Exempt-Medic authored May 10, 2024
1 parent d48f2ab commit 8db3e40
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion worlds/doom_1993/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion worlds/doom_ii/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion worlds/heretic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 8db3e40

Please sign in to comment.