From 70c965021a01ed19ddefff9f2e37efda64c2f47b Mon Sep 17 00:00:00 2001 From: Alar of Daggerspine Date: Tue, 24 Mar 2015 22:43:16 +0100 Subject: [PATCH] Was calling a debug only function Signed-off-by: Alar of DaggerWspine --- GarrisonCommander-Broker/ldb.lua | 6 ++++-- MissionCompletion.lua | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/GarrisonCommander-Broker/ldb.lua b/GarrisonCommander-Broker/ldb.lua index 0d4c0ee..f3fa540 100644 --- a/GarrisonCommander-Broker/ldb.lua +++ b/GarrisonCommander-Broker/ldb.lua @@ -106,14 +106,16 @@ function addon:UNIT_SPELLCAST_START(event,unit,name,rank,lineID,spellID) end end function addon:ITEM_PUSH(event,bag,icon) - --@debug@ +--@debug@ self:print(event,bag,icon) - --@end-debug@ +--@end-debug@ end function addon:CheckDateReset() local reset=GetQuestResetTime() local weekday, month, day, year = CalendarGetDate() +--@debug@ self:Print("Calendar",weekday,month,day,year) +--@end-debug@ if (day <1 or reset<1) then self:ScheduleTimer("CheckDateReset",1) return day,reset diff --git a/MissionCompletion.lua b/MissionCompletion.lua index b2215e4..26cc96b 100644 --- a/MissionCompletion.lua +++ b/MissionCompletion.lua @@ -118,7 +118,9 @@ function module:MissionComplete(this,button) local _ _,_,m.isMissionTimeImproved,m.successChance,_,_,m.xpBonus,m.resourceMultiplier,m.goldMultiplier=G.GetPartyMissionInfo(m.missionID) end +--@debug@ self:Dump("Completed missions",missions) +--@end-debug@ report:SetUserData('missions',missions) report:SetUserData('current',1) self:Events(true) -- 1.7.9.5