diff Modules/Queue.lua @ 153:da28be6ccd31

The queue module should no longer add 0s to the queue.
author Zerotorescue
date Fri, 21 Jan 2011 06:57:57 +0100
parents 4e5d8033ed5f
children ba5ddc4448dd
line wrap: on
line diff
--- a/Modules/Queue.lua	Thu Jan 20 20:13:00 2011 +0100
+++ b/Modules/Queue.lua	Fri Jan 21 06:57:57 2011 +0100
@@ -480,7 +480,7 @@
 					amount = (amount + bonus);
 				end
 			
-				if amount >= minCraftingQueue then
+				if amount > 0 and amount > minCraftingQueue then
 					-- If we are queuing at least one AND more than the minimum amount, then proceed
 					
 					-- Get auction value when it is relevant