Fixed an error

Small performance increase
This commit is contained in:
aerinon
2023-08-07 16:49:34 -06:00
parent bc5c6da2ac
commit a4d5dec8ad
2 changed files with 13 additions and 12 deletions

View File

@@ -2229,6 +2229,7 @@ def find_valid_trap_combination(builder, suggested, start_regions, paths, world,
itr = 0
proposal = kth_combination(sample_list[itr], trap_door_pool, trap_doors_needed)
proposal.extend(custom_trap_doors)
filtered_proposal = [x for x in proposal if x.name not in trap_door_exceptions]
builder.trap_door_proposal = proposal
return proposal, trap_doors_needed