Skip to content

Commit c5e49e8

Browse files
committed
bring over fixes
1 parent 451ea48 commit c5e49e8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

lib/misc.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,8 @@ function Cryptid.get_circus_description()
10361036
local desc = {}
10371037
local ind = 1
10381038
local extra_rarities = {}
1039-
for i, v in pairs(Cryptid.circus_rarities or {}) do
1039+
if not Cryptid.circus_rarities then Cryptid.circus_rarities = {} end
1040+
for i, v in pairs(Cryptid.circus_rarities) do
10401041
if not v.hidden then
10411042
extra_rarities[#extra_rarities + 1] = v
10421043
end

lovely/lib_misc.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,9 @@ end
171171
'''
172172
position = "after"
173173
payload = '''
174-
SMODS.calculate_context{cry_creating_card = true, card = card}
174+
if G.deck then
175+
SMODS.calculate_context{cry_creating_card = true, card = card}
176+
end
175177
'''
176178
match_indent = true
177179

0 commit comments

Comments
 (0)