core: move expansion checks into module header

This commit is contained in:
shagu
2021-10-10 12:14:46 +02:00
parent 81efaea6a9
commit ebe5d91a3a
27 changed files with 52 additions and 52 deletions
+1
View File
@@ -6,6 +6,7 @@ local AddBorder = ShaguTweaks.AddBorder
local module = ShaguTweaks:register({
title = "Darkened UI",
description = "Turns the entire interface into darker colors.",
expansions = { ["vanilla"] = true, ["tbc"] = true },
enabled = nil,
color = { r = .3, g = .3, b = .3, a = .9}
})