Renamed addon:InitializeRecipe() to the more proper addon:InitializeProfession()
James D. Callahan III [06-02-10 - 08:06]
Renamed addon:InitializeRecipe() to the more proper addon:InitializeProfession()
diff --git a/ARL.lua b/ARL.lua
index 769ad9e..836e5bc 100644
--- a/ARL.lua
+++ b/ARL.lua
@@ -1697,10 +1697,10 @@ end -- do
-------------------------------------------------------------------------------
-- ARL Logic Functions
-------------------------------------------------------------------------------
-function addon:InitializeRecipe(profession)
+function addon:InitializeProfession(profession)
if not profession then
--@alpha@
- addon:Print("nil profession passed to InitializeRecipe()")
+ addon:Print("nil profession passed to InitializeProfession()")
--@end-alpha@
return
end
@@ -1815,7 +1815,7 @@ do
end
-- Add the recipes to the database
-- TODO: Figure out what this variable was supposed to be for - it isn't used anywhere. -Torhal
- Player.totalRecipes = addon:InitializeRecipe(current_prof)
+ Player.totalRecipes = addon:InitializeProfession(current_prof)
-------------------------------------------------------------------------------
-- Scan all recipes and mark the ones we know
diff --git a/Scanner.lua b/Scanner.lua
index d4abb9b..d8b4766 100644
--- a/Scanner.lua
+++ b/Scanner.lua
@@ -553,7 +553,7 @@ local function LoadRecipe()
end
for idx, prof in pairs(PROFESSIONS) do
- addon:InitializeRecipe(prof)
+ addon:InitializeProfession(prof)
end
end
return recipe_list