Quantcast

Actually allow users to enable/disable lines.

Scott Sibley [08-08-10 - 02:27]
Actually allow users to enable/disable lines.
Filename
Modules/Text.lua
diff --git a/Modules/Text.lua b/Modules/Text.lua
index 452c749..f430b8f 100644
--- a/Modules/Text.lua
+++ b/Modules/Text.lua
@@ -341,7 +341,7 @@ return self.unitLocation
 		name = "Marquee",
 		left = 'return "StarTip v1.4"',
 		updating = true,
-		enabled = true,
+		enabled = false,
 		marquee = true,
 		width = 20,
 		prefix = 'return "---"',
@@ -432,6 +432,8 @@ function mod:CreateLines()
         local lineNum = 0
 		GameTooltip:ClearLines()
         for i, v in ipairs(self) do
+			if v.enabled then
+
                 local left, right, c
                 if v.right then
                     right, c = StarTip.ExecuteCode(mod, v.name, v.right)
@@ -467,6 +469,7 @@ function mod:CreateLines()
                 end
 				StarTip.del(c)
 				StarTip.del(cc)
+			end
         end
         self.NUM_LINES = lineNum
     end})