mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
fix /snes <snes_interface> if interface contains spaces (which it shouldn't, but meh)
This commit is contained in:
4
Fill.py
4
Fill.py
@@ -228,7 +228,9 @@ def distribute_items_restrictive(world, gftower_trash=False, fill_locations=None
|
||||
if not gftower_trash or not world.ganonstower_vanilla[player] or world.logic[player] == 'owglitches':
|
||||
continue
|
||||
|
||||
gftower_trash_count = (random.randint(15, 50) if world.goal[player] == 'triforcehunt' else random.randint(0, 15))
|
||||
gftower_trash_count = (
|
||||
random.randint(15, 50) if world.goal[player] in {'triforcehunt', 'localtriforcehunt'} else random.randint(0,
|
||||
15))
|
||||
|
||||
gtower_locations = [location for location in fill_locations if 'Ganons Tower' in location.name and location.player == player]
|
||||
random.shuffle(gtower_locations)
|
||||
|
Reference in New Issue
Block a user