Merge pull request #123 from Catobat/ItemPool

Fix money balancing with reduced item pool
This commit is contained in:
aerinon
2021-09-01 15:57:14 -06:00
committed by GitHub
2 changed files with 13 additions and 10 deletions

View File

@@ -1164,6 +1164,8 @@ class CollectionState(object):
def collect(self, item, event=False, location=None):
if location:
self.locations_checked.add(location)
if not item:
return
changed = False
if item.name.startswith('Progressive '):
if 'Sword' in item.name: