Quantcast

In addon:AddRecipe(): Don't set a default value for recipe.is_known - if a scan shows that it's known, it will be marked as such.

James D. Callahan III [03-22-10 - 22:01]
In addon:AddRecipe(): Don't set a default value for recipe.is_known - if a scan shows that it's known, it will be marked as such.
Filename
ARL.lua
diff --git a/ARL.lua b/ARL.lua
index 15e1d00..d311a31 100644
--- a/ARL.lua
+++ b/ARL.lua
@@ -890,7 +890,6 @@ function addon:AddRecipe(spell_id, skill_level, item_id, quality, profession, sp
 		["trivial_level"]	= trivial_level or skill_level + 20,
 		["is_visible"]		= true,				-- Set to be displayed until the filtering occurs
 		["is_relevant"]		= true,				-- Set to be showing in the search results
-		["is_known"]		= false,			-- Initially not known - will determine in addon:Scan()
 	}

 	if not recipe.name then