Fix crash on non-cryptid
This commit is contained in:
parent
ca30e931d1
commit
99f1f6a86f
2 changed files with 10 additions and 8 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
"name": "Roland",
|
"name": "Roland",
|
||||||
"prefix": "Roland",
|
"prefix": "Roland",
|
||||||
"author": ["Emik"],
|
"author": ["Emik"],
|
||||||
"version": "1.2.2",
|
"version": "1.2.3",
|
||||||
"badge_colour": "8BE9FD",
|
"badge_colour": "8BE9FD",
|
||||||
"main_file": "src/main.lua",
|
"main_file": "src/main.lua",
|
||||||
"badge_text_colour": "44475A",
|
"badge_text_colour": "44475A",
|
||||||
|
|
|
||||||
|
|
@ -17,13 +17,15 @@ SMODS.Challenge {
|
||||||
rules = {custom = {{id = "Roland_Saint"}, {id = "Roland_Accelerated"}}},
|
rules = {custom = {{id = "Roland_Saint"}, {id = "Roland_Accelerated"}}},
|
||||||
}
|
}
|
||||||
|
|
||||||
SMODS.Challenge {
|
if Cryptid then
|
||||||
|
SMODS.Challenge {
|
||||||
key = "Soaring",
|
key = "Soaring",
|
||||||
deck = deck,
|
deck = deck,
|
||||||
jokers = {card},
|
jokers = {card},
|
||||||
sleeve = "sleeve_cry_equilibrium_sleeve",
|
sleeve = "sleeve_cry_equilibrium_sleeve",
|
||||||
rules = {custom = {{id = "Roland_Saint"}, {id = "Roland_Accelerated"}}},
|
rules = {custom = {{id = "Roland_Saint"}, {id = "Roland_Accelerated"}}},
|
||||||
}
|
}
|
||||||
|
end
|
||||||
|
|
||||||
SMODS.Challenge {
|
SMODS.Challenge {
|
||||||
key = "Balanced_Jokers",
|
key = "Balanced_Jokers",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue