From 64e0884d9536c785ea477b57ebde5be0709b5f74 Mon Sep 17 00:00:00 2001 From: JapaMala Date: Sat, 27 Apr 2019 16:29:30 -0500 Subject: [PATCH] Don't keep re-adding the job orders. --- plugins/autoclothing.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/autoclothing.cpp b/plugins/autoclothing.cpp index ed1c09dbb..655b13140 100644 --- a/plugins/autoclothing.cpp +++ b/plugins/autoclothing.cpp @@ -431,6 +431,7 @@ static void add_clothing_orders() { auto race = orderNeeded.first; auto amount = orderNeeded.second; + orderNeeded.second = 0; //once we get what we need, set it back to zero so we don't add it to further counts. //Previous operations can easily make this negative. That jus means we have more than we need already. if (amount <= 0) continue;