Mercurial > wow > inventory
diff Modules/Queue.lua @ 149:4e5d8033ed5f
Fixed queueing single groups rather than using ?queue all?.
author | Zerotorescue |
---|---|
date | Thu, 20 Jan 2011 06:53:59 +0100 |
parents | ebe6f90c4bb9 |
children | da28be6ccd31 |
line wrap: on
line diff
--- a/Modules/Queue.lua Thu Jan 20 00:19:23 2011 +0100 +++ b/Modules/Queue.lua Thu Jan 20 06:53:59 2011 +0100 @@ -437,7 +437,7 @@ mod:BuildQueue(); end -function mod:QueueGroup(groupName, craftables) +function mod:QueueGroup(groupName, craftables, displayQueue) -- Prepare a table with all possible tradeskill craftables if not craftables then craftables = self:GetTradeskillCraftables(); -- nil when no tradeskill window is open @@ -513,6 +513,10 @@ self:Skip(itemId, skipReasons.NOT_CRAFTABLE); end end + + if displayQueue then + mod:BuildQueue(); + end end function mod:Queue(itemId, amount, bonus, craft, groupName) @@ -587,7 +591,7 @@ end function mod:IM_QUEUE_GROUP(event, groupName) - self:QueueGroup(groupName); + self:QueueGroup(groupName, nil, true); end end