Set triforce pieces available to max of available and required.

This commit is contained in:
caitsith2
2020-06-17 01:33:34 -07:00
parent 617312fd4b
commit d8bc5ca2a8
3 changed files with 3 additions and 3 deletions

View File

@@ -511,8 +511,6 @@ def get_pool_core(world, player: int):
extraitems -= len(diff.timedohko)
clock_mode = 'countdown-ohko'
if goal in {'triforcehunt', 'localtriforcehunt'}:
if world.triforce_pieces_required[player] > world.triforce_pieces_available[player]:
world.triforce_pieces_required[player] = world.triforce_pieces_available[player]
while len(diff.triforcehunt) > world.triforce_pieces_available[player]:
diff.triforcehunt.pop()
pool.extend(diff.triforcehunt)