diff Turok/Modules/Timer/Progressbar.lua @ 9:9400a0ff8540

Ugh Timer: - container update directionality - talent update iterates over a non-volatile table to carry out updates - index management steps organized - talentRow status implemented, returns the spell associated with the talent chosen from that row CombatLog: - sort out font controls and unbork arguments
author Nenue
date Sun, 21 Feb 2016 13:08:30 -0500
parents a9b8b0866ece
children
line wrap: on
line diff
--- a/Turok/Modules/Timer/Progressbar.lua	Sun Feb 21 08:49:34 2016 -0500
+++ b/Turok/Modules/Timer/Progressbar.lua	Sun Feb 21 13:08:30 2016 -0500
@@ -15,7 +15,11 @@
     _G.print('Progressbar', ...)
   end
 end
-print('Peep!', ...)
+local uprint = function(...)
+  if _G.Devian and _G.DevianDB.workspace ~= 1 then
+    _G.print('Update', ...)
+  end
+end
 --@end-debug@
 local GetPrint = function(trace)
   if trace then
@@ -94,8 +98,8 @@
 
   T.SetStatusTextures(self, self.cvars)
 
-  _G.print('Update', self.background:GetWidth(), self.background:GetHeight())
-  _G.print('Update', self.foreground:GetWidth(), self.foreground:GetHeight())
+  uprint(self.background:GetWidth(), self.background:GetHeight())
+  uprint(self.foreground:GetWidth(), self.foreground:GetHeight())
 end