DS3: Prevent prioritized+excluded locations (#3855)

This commit is contained in:
Exempt-Medic 2024-08-31 07:44:48 -04:00 committed by GitHub
parent f81335d614
commit b37bb60891
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -1252,6 +1252,9 @@ class DarkSouls3World(World):
lambda item: not item.advancement
)
# Prevent the player from prioritizing and "excluding" the same location
self.options.priority_locations.value -= allow_useful_locations
if self.options.excluded_location_behavior == "allow_useful":
self.options.exclude_locations.value.clear()