Skip to content

Commit 4bf483f

Browse files
author
jolly[bot]
committed
jolly-bot: auto-format Lua files using Stylua
1 parent b89a835 commit 4bf483f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/overrides.lua

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,12 @@ function SMODS.create_mod_badges(obj, badges)
747747
end
748748
end
749749
local id = obj and obj.mod and obj.mod.id
750-
if Cryptid.safe_get(G, "ACTIVE_MOD_UI", "id") == (id) and obj and not obj.force_gameset and Cryptid.mod_gameset_whitelist[id] then
750+
if
751+
Cryptid.safe_get(G, "ACTIVE_MOD_UI", "id") == id
752+
and obj
753+
and not obj.force_gameset
754+
and Cryptid.mod_gameset_whitelist[id]
755+
then
751756
local set = Cryptid.gameset(obj)
752757
if set == "disabled" or obj.set == "Content Set" then
753758
return

0 commit comments

Comments
 (0)