From c8eed3d49e0d9500c478908e4c0a8c4ae0af9f10 Mon Sep 17 00:00:00 2001 From: Ackis Date: Wed, 29 Oct 2008 19:07:08 +0000 Subject: [PATCH] Ackis Recipe List: - Fix ticket 153 - Lets fix a bug where known recipes screwed up the porgress bar totals - Dry-coded (Compiles with luac -p) --- ARLFrame.lua | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ARLFrame.lua b/ARLFrame.lua index bfa3790..a7ac158 100644 --- a/ARLFrame.lua +++ b/ARLFrame.lua @@ -143,7 +143,15 @@ local function GetFilteredRecipes(total, filtered, found, other) local totalfiltered = filtered - other local actualfiltered = total - totalfiltered - return found + actualfiltered + if (not addon.db.profile.filters.general.known) then + + return found + actualfiltered + + else + + return found + + end end -- 1.7.9.5