From 17d9f66ba33a0bfafb51d3e44c99f4cdbcdac0ae Mon Sep 17 00:00:00 2001 From: spinerak Date: Mon, 10 Jun 2024 18:58:50 +0200 Subject: [PATCH] remove .keys() --- worlds/yachtdice/Rules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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