Skip to content

Commit ebe0fe8

Browse files
author
jolly[bot]
committed
jolly-bot: auto-format Lua files using Stylua
1 parent 3a26c6c commit ebe0fe8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lib/ui.lua

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ SMODS.DrawStep({
88
order = 5,
99
func = function(self)
1010
if Cryptid.safe_get(self, "area", "config", "type") == "deck" then
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'])
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"])
1317
if currentBack.effect.config.cry_force_edition and not currentBack.effect.config.cry_antimatter then
1418
if currentBack.effect.config.cry_force_edition_shader then
1519
self.children.back:draw_shader(

0 commit comments

Comments
 (0)