Skip to content

Doom I/II, Heretic: Removing old option getters #3285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading