Prevent Basket from cloning jokers if they end up there somehow
This commit is contained in:
parent
704e2ab9d1
commit
63123ec141
2 changed files with 4 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
"id": "Roland",
|
"id": "Roland",
|
||||||
"name": "Roland",
|
"name": "Roland",
|
||||||
"prefix": "Roland",
|
"prefix": "Roland",
|
||||||
"version": "2.8.16",
|
"version": "2.8.17",
|
||||||
"badge_colour": "8BE9FD",
|
"badge_colour": "8BE9FD",
|
||||||
"display_name": "Roland",
|
"display_name": "Roland",
|
||||||
"main_file": "src/main.lua",
|
"main_file": "src/main.lua",
|
||||||
|
|
|
||||||
|
|
@ -242,7 +242,9 @@ joker {
|
||||||
table.insert(info_queue, negative)
|
table.insert(info_queue, negative)
|
||||||
end,
|
end,
|
||||||
calculate = function(_, _, context)
|
calculate = function(_, _, context)
|
||||||
return (context.selling_self or context.forcetrigger) and f(G.consumeables.cards):each(function(v)
|
return (context.selling_self or context.forcetrigger) and f(G.consumeables.cards):where(function(v, k)
|
||||||
|
return v.config.center.set ~= "Joker"
|
||||||
|
end):each(function(v)
|
||||||
q {
|
q {
|
||||||
delay = 1,
|
delay = 1,
|
||||||
func = function()
|
func = function()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue