Fix mixup of variables
This commit is contained in:
parent
f5df8a58d8
commit
d671569fb2
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue