Mercurial > wow > ouroloot
changeset 130:08d3d2b7c31d
Move debug table pointers to gui_init.
author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
---|---|
date | Mon, 27 Aug 2012 02:59:49 -0400 |
parents | 2731702567c4 |
children | acaa01b90505 |
files | core.lua gui.lua |
diffstat | 2 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/core.lua Mon Aug 27 02:53:42 2012 -0400 +++ b/core.lua Mon Aug 27 02:59:49 2012 -0400 @@ -2359,11 +2359,6 @@ format (self.version, self.revision, self.ident, self.commrev) self:RegisterComm(self.ident) self:RegisterComm(self.identTg, "OnCommReceivedNocache") - - if self.author_debug then - _G.Ogloot = g_loot - _G.Odloot = g_loot_wrapper - end end -- Raid roster snapshots
--- a/gui.lua Mon Aug 27 02:53:42 2012 -0400 +++ b/gui.lua Mon Aug 27 02:59:49 2012 -0400 @@ -853,6 +853,12 @@ self:_fill_out_eoi_data(1) gui.eoiST:SetData(g_dloot) end + + if self.author_debug then + _G.Ogloot = g_loot + _G.Odloot = g_dloot + end + g_generated = nil tabgroup_tabs = {} window_title = "Ouro Loot " .. self.version