Removing old option getters (#3285)
This commit is contained in:
parent
d48f2ab1b4
commit
8db3e40094
|
@ -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]
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue