diff gui.lua @ 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
line wrap: on
line diff
--- 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