Skip to content

Commit

Permalink
Remove spaces :^)
Browse files Browse the repository at this point in the history
  • Loading branch information
spinerak committed Oct 11, 2024
1 parent f4c12e8 commit fff115a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/yachtdice/Rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def dice_simulation_strings(categories, num_dice, num_rolls, fixed_mult, step_mu

if tup in yachtdice_cache[player]:
return yachtdice_cache[player][tup]

# sort categories because for the step multiplier, you will want low-scoring categories first
# to avoid errors with order changing when obtaining rolls, we order assuming 4 rolls
categories.sort(key=lambda category: category.mean_score(num_dice, 4))
Expand Down

0 comments on commit fff115a

Please sign in to comment.