Add some debug variable

This commit is contained in:
Sandor Takacs
2014-10-22 17:19:01 +02:00
parent 9c84784542
commit 237217ede4
2 changed files with 18 additions and 2 deletions

View File

@ -55,6 +55,7 @@ function MyInventory:OnInitialize()
self.anchorOffsetX = -5
self.anchorOffsetY = 100
self.isBank = false
self.version = MB_Core:GetCoreVersion()
self.db = LibStub("AceDB-3.0"):New("MyInventoryDB")
local prof = self.db:GetCurrentProfile()
if self.db.profiles[prof] and self.db.profiles[prof]["Columns"] and self.db.profiles[prof]["Columns"] > 0 then