Fix crash on non-cryptid

This commit is contained in:
Emik 2025-03-28 19:47:09 +01:00
parent ca30e931d1
commit 99f1f6a86f
Signed by untrusted user who does not match committer: emik
GPG key ID: 09CDFF9E5703688D
2 changed files with 10 additions and 8 deletions

View file

@ -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",

View file

@ -17,6 +17,7 @@ SMODS.Challenge {
rules = {custom = {{id = "Roland_Saint"}, {id = "Roland_Accelerated"}}}, rules = {custom = {{id = "Roland_Saint"}, {id = "Roland_Accelerated"}}},
} }
if Cryptid then
SMODS.Challenge { SMODS.Challenge {
key = "Soaring", key = "Soaring",
deck = deck, deck = deck,
@ -24,6 +25,7 @@ SMODS.Challenge {
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",