Fix unlock condition
This commit is contained in:
parent
1cc07189db
commit
66aa414ec0
2 changed files with 2 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
"id": "Roland",
|
"id": "Roland",
|
||||||
"name": "Roland",
|
"name": "Roland",
|
||||||
"prefix": "Roland",
|
"prefix": "Roland",
|
||||||
"version": "2.9.51",
|
"version": "2.9.52",
|
||||||
"badge_colour": "8BE9FD",
|
"badge_colour": "8BE9FD",
|
||||||
"display_name": "Roland",
|
"display_name": "Roland",
|
||||||
"main_file": "src/main.lua",
|
"main_file": "src/main.lua",
|
||||||
|
|
|
||||||
|
|
@ -134,6 +134,7 @@ back {
|
||||||
check_for_unlock = function(_, args)
|
check_for_unlock = function(_, args)
|
||||||
return args ~= "Bakery_nothing" and
|
return args ~= "Bakery_nothing" and
|
||||||
G.jokers and
|
G.jokers and
|
||||||
|
next((G.jokers or {}).cards) and
|
||||||
not not f(G.jokers.cards):map "ability":all "perishable"
|
not not f(G.jokers.cards):map "ability":all "perishable"
|
||||||
end,
|
end,
|
||||||
apply = function(self)
|
apply = function(self)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue