Mercurial > wow > turok
diff Turok/Modules/Timer/Timer.Init.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/Timer.Init.lua Sun Feb 21 08:49:34 2016 -0500 +++ b/Turok/Modules/Timer/Timer.Init.lua Sun Feb 21 13:08:30 2016 -0500 @@ -9,7 +9,12 @@ local mod = T:NewModule("TimerControl", "AceTimer-3.0") local pairs, ipairs, rawset, getmetatable, setmetatable, type, tostring, tinsert = pairs, ipairs, rawset, getmetatable, setmetatable, type, tostring, tinsert local cWord, cNum, cText, cKey = cWord, cNum, cText, cKey -local print = function(...) print('Timer', ...) end +local print = function(...) + if not DEBUG then return end + if _G.Devian and _G.DevianDB.workspace ~= 1 then + _G.print('Timer', ...) + end +end local index_mt = { __newindex = function(t,k,v) rawset(t,k,v)