From bdef85875f97afc33ae52ae0b736069df73b7d6b Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Wed, 23 Oct 2013 07:19:04 +0000 Subject: [PATCH] Only show the snapshot count when the Paper doll debug option is checked. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1093 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvalePaperDoll.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OvalePaperDoll.lua b/OvalePaperDoll.lua index 940b70b..7250039 100644 --- a/OvalePaperDoll.lua +++ b/OvalePaperDoll.lua @@ -240,7 +240,8 @@ end function OvalePaperDoll:PLAYER_REGEN_ENABLED(event) local now = API_GetTime() if Ovale.enCombat and Ovale.combatStartTime then - Ovale:FormatPrint("[%s] %d snapshots in %f seconds.", OVALE_PAPERDOLL_DEBUG, self_snapshotCount, now - Ovale.combatStartTime) + Ovale:DebugPrintf(OVALE_PAPERDOLL_DEBUG, true, "%d snapshots in %f seconds.", + self_snapshotCount, now - Ovale.combatStartTime) end self_pool:Drain() end -- 1.7.9.5