From e2feef0835eb86ab8bfeabcaa4186a13e6d22cce Mon Sep 17 00:00:00 2001 From: pschifferer Date: Fri, 16 Oct 2009 05:44:06 +0000 Subject: [PATCH] Small fix to account for making only the desired amount for first item instead of all. >.> --- CauldronMain.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.9.5