Removing old option getters (#3285)

This commit is contained in:
Exempt-Medic 2024-05-10 10:29:07 -04:00 committed by GitHub
parent d48f2ab1b4
commit 8db3e40094
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -181,7 +181,7 @@ class DOOM1993World(World):
# 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]

View File

@ -172,7 +172,7 @@ class DOOM2World(World):
# 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]

View File

@ -182,7 +182,7 @@ class HereticWorld(World):
# 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]