remove empty shopslots from regions

This commit is contained in:
Fabian Dill 2021-01-11 02:48:57 +01:00
parent 6ab2caf37b
commit f47fafe7e3
1 changed files with 2 additions and 0 deletions

View File

@ -256,6 +256,8 @@ def main(args, seed=None):
shop.push_inventory(slot_num, item_name, price, 1,
location.item.player if location.item.player != location.player else 0)
else:
shop.region.locations.remove(location)
logger.info('Patching ROM.')