# HG changeset patch # User contrebasse # Date 1308508147 -7200 # Node ID 3854c682bb4aeb277c5ba6d9c4e0a2e9708bbe35 # Parent c32d6bf6cfc174bda99cbdf5141fd49d627a7a9f Cosmetic diff -r c32d6bf6cfc1 -r 3854c682bb4a Craft.lua --- a/Craft.lua Sun Jun 19 13:05:52 2011 +0200 +++ b/Craft.lua Sun Jun 19 20:29:07 2011 +0200 @@ -55,7 +55,6 @@ else -- Many recipes are known for this item, or it is not a standard tradeskill display them all A.externalCraftWindow(reagentID,reagentIndexInRecipe) end -- if - --A.RestoreActiveFilters() end -- function -- Launch the procedure for a standard recipe @@ -150,7 +149,7 @@ A.SaveActiveFilters(recipeData.header) -- Find recipe index - local reagentIndex = A.findExactSkillIndex(reagentID,recipeData.spellLink) -- finds only the first recipe that creates the reagent, should check recipe name too + local reagentIndex = A.findExactSkillIndex(reagentID,recipeData.spellLink) -- Error if not found if not reagentIndex then