Small fix to account for making only the desired amount for first item instead of all. >.>
pschifferer [10-16-09 - 05:44]
Small fix to account for making only the desired amount for first item instead of all. >.>
diff --git a/CauldronMain.lua b/CauldronMain.lua
index 9260f58..0b9b27e 100644
--- a/CauldronMain.lua
+++ b/CauldronMain.lua
@@ -674,7 +674,7 @@ function Cauldron:ProcessQueue()
if skillInfo.available > 0 then
self:debug("First item in main queue can be made "..skillInfo.available.." times");
- self:SubmitItemToProcess(queueInfo, skillInfo, skillInfo.available);
+ self:SubmitItemToProcess(queueInfo, skillInfo, math.min(skillInfo.available, queueInfo.amount));
return;
--[[ else
-- see if queue contains other items that can be made if the first can't be