From 6c80881c303080722249867f4ef79b2ec0c299c5 Mon Sep 17 00:00:00 2001 From: lord-ruby Date: Sun, 1 Mar 2026 23:47:46 +0000 Subject: [PATCH] augh --- lib/hooks.lua | 2 +- lib/utils.lua | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/hooks.lua b/lib/hooks.lua index cac110d4..63a871b7 100644 --- a/lib/hooks.lua +++ b/lib/hooks.lua @@ -1454,7 +1454,7 @@ G.FUNCS.use_card = function(e, mute, nosave) blocking = false, blockable = true, func = function() - if Entropy.is_inverted(card.config.center) and not card.config.center.hidden then + if Entropy.is_inverted(card.config.center) and not card.config.center.hidden and card.config.center.set ~= "Joker" then G.GAME.last_inversion = { key = card.config.center.key, set = card.config.center.set diff --git a/lib/utils.lua b/lib/utils.lua index daa980fa..7363be93 100644 --- a/lib/utils.lua +++ b/lib/utils.lua @@ -18,11 +18,6 @@ function Entropy.is_inverted(card) local card = card.config and card.config.center or card local key = card.key or card.config.center and card.config.center_key or "" if card.set == "Joker" then - for i, v in pairs(G.P_CENTER_POOLS.Joker) do - if v.corruptions then - for i, c in pairs(v.corruptions) do if c == key then return true end end - end - end if card.corruptions then return true end end return Entropy.FlipsideInversions[key] and not Entropy.FlipsidePureInversions[key]