mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
remove empty shopslots from regions
This commit is contained in:
2
Main.py
2
Main.py
@@ -256,6 +256,8 @@ def main(args, seed=None):
|
|||||||
|
|
||||||
shop.push_inventory(slot_num, item_name, price, 1,
|
shop.push_inventory(slot_num, item_name, price, 1,
|
||||||
location.item.player if location.item.player != location.player else 0)
|
location.item.player if location.item.player != location.player else 0)
|
||||||
|
else:
|
||||||
|
shop.region.locations.remove(location)
|
||||||
|
|
||||||
logger.info('Patching ROM.')
|
logger.info('Patching ROM.')
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user