DS3: Don't return early in the location loop (#3856)
This caused behavior errors when some locations in a group were excluded and others were not.
This commit is contained in:
parent
8ed466bf24
commit
f81335d614
|
@ -1292,10 +1292,10 @@ class DarkSouls3World(World):
|
|||
locations = location if isinstance(location, list) else [location]
|
||||
for location in locations:
|
||||
data = location_dictionary[location]
|
||||
if data.dlc and not self.options.enable_dlc: return
|
||||
if data.ngp and not self.options.enable_ngp: return
|
||||
if data.dlc and not self.options.enable_dlc: continue
|
||||
if data.ngp and not self.options.enable_ngp: continue
|
||||
|
||||
if not self._is_location_available(location): return
|
||||
if not self._is_location_available(location): continue
|
||||
if isinstance(rule, str):
|
||||
assert item_dictionary[rule].classification == ItemClassification.progression
|
||||
rule = lambda state, item=rule: state.has(item, self.player)
|
||||
|
|
Loading…
Reference in New Issue