Quantcast

-Oops had a tiny little bug :P (That's what I get for copying and pasting!)

Xruptor [05-03-11 - 14:50]
-Oops had a tiny little bug :P (That's what I get for copying and pasting!)
-Fixed a small bug that was occuring with the frame.
-Updated version.
Filename
LagBar.lua
LagBar.toc
diff --git a/LagBar.lua b/LagBar.lua
index 5ea1259..81cfdfc 100644
--- a/LagBar.lua
+++ b/LagBar.lua
@@ -106,9 +106,9 @@ function LagBar:DrawGUI()

 	--now change size according to worldping
 	if LagBar_DB.worldping then
-		LagBar.frame:SetWidth(120 + 30)
+		lbFrame:SetWidth(120 + 30)
 	else
-		LagBar.frame:SetWidth(120)
+		lbFrame:SetWidth(120)
 	end


diff --git a/LagBar.toc b/LagBar.toc
index 8e35a88..c3376eb 100644
--- a/LagBar.toc
+++ b/LagBar.toc
@@ -1,7 +1,7 @@
 ## Interface: 40100
 ## Title: LagBar
 ## Author: Xruptor
-## Version:  2.3
+## Version:  2.4
 ## Notes: Displays a simple bar with some Latency Information.
 ## SavedVariables: LagBar_DB
 LagBar.lua