In addon:AddRecipeAcquire(): Try to retrieve a location for CUSTOM acquire types before using _G.MISCELLANEOUS.
James D. Callahan III [03-23-10 - 04:55]
In addon:AddRecipeAcquire(): Try to retrieve a location for CUSTOM acquire types before using _G.MISCELLANEOUS.
diff --git a/ARL.lua b/ARL.lua
index 6d19136..34a39e1 100644
--- a/ARL.lua
+++ b/ARL.lua
@@ -1075,7 +1075,7 @@ do
location = GetCategoryInfo(155)
elseif acquire_type == A.CUSTOM then
acquire[acquire_id] = true
- location = _G.MISCELLANEOUS
+ location = private.custom_list[acquire_id].location or _G.MISCELLANEOUS
else
-- Unhandled acquire_type
acquire[acquire_id] = true