SM - Option to remove empty locations (#323)

This commit is contained in:
Alchav
2022-03-26 02:26:55 -04:00
committed by GitHub
parent fb1be7b003
commit 3b128c8512
2 changed files with 3 additions and 3 deletions

View File

@@ -69,7 +69,6 @@ class SMWorld(World):
itemManager: ItemManager
locations = {}
hint_blacklist = {'Nothing', 'No Energy'}
Logic.factory('vanilla')
@@ -531,6 +530,8 @@ class SMWorld(World):
for item in self.world.itempool:
if item.player == self.player and item.advancement:
progitempool.append(item)
if item.location.player == self.player and item.game == "Super Metroid" and item.type == "Nothing":
item.location.address = None
for item in progitempool:
new_state.collect(item, True)