changeset 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 311eb97cb983
children 39df534c9856
files Modules/Queue.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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