We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b89a835 commit 4bf483fCopy full SHA for 4bf483f
lib/overrides.lua
@@ -747,7 +747,12 @@ function SMODS.create_mod_badges(obj, badges)
747
end
748
749
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
+ 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
756
local set = Cryptid.gameset(obj)
757
if set == "disabled" or obj.set == "Content Set" then
758
return
0 commit comments