Skip to content

Commit 78b1120

Browse files
authored
Merge pull request #454 from larswijn/main
2 parents c355358 + ebe0fe8 commit 78b1120

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/ui.lua

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ 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
13+
and ((Galdur and Galdur.config.use and type(self.params.galdur_back) == "table" and self.params.galdur_back) or type(
14+
self.params.viewed_back
15+
) == "table" and self.params.viewed_back or (self.params.viewed_back and G.GAME.viewed_back or G.GAME.selected_back))
16+
or Back(G.P_CENTERS["b_red"])
1217
if currentBack.effect.config.cry_force_edition and not currentBack.effect.config.cry_antimatter then
1318
if currentBack.effect.config.cry_force_edition_shader then
1419
self.children.back:draw_shader(

0 commit comments

Comments
 (0)