diff Turok/Modules/Utilities/PetBattle.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/Utilities/PetBattle.lua	Sun Feb 21 08:49:34 2016 -0500
+++ b/Turok/Modules/Utilities/PetBattle.lua	Sun Feb 21 13:08:30 2016 -0500
@@ -7,7 +7,12 @@
 local ADDON, Turok = ...
 local T, _G, pairs, pairs = Turok.Addon, _G, pairs, ipairs
 local mod = T:NewModule("PetBattle")
-local print = function(...) _G.print('Petz', ...) end
+local print = function(...)
+  if not DEBUG then return end
+  if _G.Devian and _G.DevianDB.workspace ~= 1 then
+    _G.print('Petz', ...)
+  end
+end
 local trace = function(self, e, ...)
   print(e, ...)
 end