Quantcast

Was calling a debug only function

Alar of Daggerspine [03-24-15 - 21:43]
Was calling a debug only function

Signed-off-by: Alar of DaggerWspine <alar@aspide.it>
Filename
GarrisonCommander-Broker/ldb.lua
MissionCompletion.lua
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)