Skip to content

Commit 3a26c6c

Browse files
committed
Galdur+CardSleeves patch
1 parent 66767a0 commit 3a26c6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/ui.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ SMODS.DrawStep({
88
order = 5,
99
func = function(self)
1010
if Cryptid.safe_get(self, "area", "config", "type") == "deck" then
11-
local currentBack = self.params.viewed_back and G.GAME.viewed_back or G.GAME.selected_back
11+
-- following here is a horrendous mod compatability line
12+
local currentBack = not self.params.galdur_selector and ((Galdur and Galdur.config.use and type(self.params.galdur_back) == 'table' and self.params.galdur_back) or type(self.params.viewed_back) == 'table' and self.params.viewed_back or (self.params.viewed_back and G.GAME.viewed_back or G.GAME.selected_back)) or Back(G.P_CENTERS['b_red'])
1213
if currentBack.effect.config.cry_force_edition and not currentBack.effect.config.cry_antimatter then
1314
if currentBack.effect.config.cry_force_edition_shader then
1415
self.children.back:draw_shader(

0 commit comments

Comments
 (0)