Quantcast

Nope, had queue ordering right the first time.

pschifferer [10-21-09 - 04:14]
Nope, had queue ordering right the first time.
Filename
CauldronQueue.lua
diff --git a/CauldronQueue.lua b/CauldronQueue.lua
index e7c81ce..9f8054c 100644
--- a/CauldronQueue.lua
+++ b/CauldronQueue.lua
@@ -81,7 +81,7 @@ function CauldronQueue:GetItems(queue)
 	end

 	-- sort the list
-	table.sort(items, function(r1, r2) return r1.priority < r2.priority; end);
+	table.sort(items, function(r1, r2) return r2.priority < r1.priority; end);

 	return items;
 end