Skip to content

Commit ad03aea

Browse files
committed
idk what even happened tbh
1 parent d246da0 commit ad03aea

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

items/tag.lua

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1640,24 +1640,26 @@ local palette_cleanser = {
16401640
end,
16411641
in_pool = function()
16421642
local c = {}
1643-
for i, v in pairs(G.jokers.cards) do
1644-
if not v:has_stickers() then
1645-
if not v.will_be_cleansed then
1646-
c[#c + 1] = v
1643+
if G.jokers then
1644+
for i, v in pairs(G.jokers.cards) do
1645+
if not v:has_stickers() then
1646+
if not v.will_be_cleansed then
1647+
c[#c + 1] = v
1648+
end
16471649
end
16481650
end
1649-
end
1650-
for i, v in pairs(G.deck.cards) do
1651-
if not v:has_stickers() then
1652-
if not v.will_be_cleansed then
1653-
c[#c + 1] = v
1651+
for i, v in pairs(G.deck.cards) do
1652+
if not v:has_stickers() then
1653+
if not v.will_be_cleansed then
1654+
c[#c + 1] = v
1655+
end
16541656
end
16551657
end
1656-
end
1657-
for i, v in pairs(G.hand.cards) do
1658-
if not v:has_stickers() then
1659-
if not v.will_be_cleansed then
1660-
c[#c + 1] = v
1658+
for i, v in pairs(G.hand.cards) do
1659+
if not v:has_stickers() then
1660+
if not v.will_be_cleansed then
1661+
c[#c + 1] = v
1662+
end
16611663
end
16621664
end
16631665
end

0 commit comments

Comments
 (0)