diff --git a/worlds/yachtdice/Rules.py b/worlds/yachtdice/Rules.py index b1630849f8..0afdfaa5b2 100644 --- a/worlds/yachtdice/Rules.py +++ b/worlds/yachtdice/Rules.py @@ -134,7 +134,7 @@ def dice_simulation_strings(categories, num_dice, num_rolls, fixed_mult, step_mu ) # identifier # if already computed, return the result - if tup in yachtdice_cache.keys(): + if tup in yachtdice_cache: return yachtdice_cache[tup] # sort categories because for the step multiplier, you will want low-scoring categories first