Fix mixup of variables

This commit is contained in:
Emik 2026-02-23 23:25:38 +01:00
parent f5df8a58d8
commit d671569fb2
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF

View file

@ -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)