mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-23 12:33:23 -07:00
Instead of turning it into a tuple, you can just make a tuple literal
This commit is contained in:
@@ -124,15 +124,13 @@ def dice_simulation_strings(categories, num_dice, num_rolls, fixed_mult, step_mu
|
||||
"""
|
||||
Function that returns the feasible score in logic based on items obtained.
|
||||
"""
|
||||
tup = tuple(
|
||||
[
|
||||
tuple(sorted([c.name + str(c.quantity) for c in categories])),
|
||||
num_dice,
|
||||
num_rolls,
|
||||
fixed_mult,
|
||||
step_mult,
|
||||
diff,
|
||||
]
|
||||
tup = (
|
||||
tuple(sorted([c.name + str(c.quantity) for c in categories])),
|
||||
num_dice,
|
||||
num_rolls,
|
||||
fixed_mult,
|
||||
step_mult,
|
||||
diff,
|
||||
) # identifier
|
||||
|
||||
# if already computed, return the result
|
||||
|
||||
Reference in New Issue
Block a user