From d671569fb28246d3a359b241121e5f9ecf622f20 Mon Sep 17 00:00:00 2001 From: Emik Date: Mon, 23 Feb 2026 23:25:38 +0100 Subject: [PATCH] Fix mixup of variables --- src/challenge.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/challenge.lua b/src/challenge.lua index 8d122a3..754ea61 100644 --- a/src/challenge.lua +++ b/src/challenge.lua @@ -11,7 +11,7 @@ local function adder(tbl) end local function is_banned_from_pastry(v) - return not ({Bakery = true, Roland = true})[(v.mod or {}).key] + return not ({Bakery = true, Roland = true})[(v.mod or {}).id] end local function is_center_banned_from_pastry(v) @@ -20,7 +20,7 @@ local function is_center_banned_from_pastry(v) end local function is_joker(v) - return v.set == "Joker" and not ({j_joker = true, j_Roland_msjoker = true})[v.id] + return v.set == "Joker" and not ({j_joker = true, j_Roland_msjoker = true})[v.key] end local function is_showdown_except(key)