From afa1b8478a4c704dd603b353f0d041392be6e35c Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 8 Apr 2024 16:53:53 -0400 Subject: [PATCH] Minor class cleanup --- src/engine/gameManager/ForgeManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index 023ff100..46e33c42 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -58,7 +58,7 @@ public enum ForgeManager implements Runnable { // Resubmit workOrder workOrder.completionTime = System.currentTimeMillis() + workOrder.rollingDuration; - workOrder.total_produced = workOrder.total_produced - 1; + workOrder.total_produced = workOrder.total_produced + 1; workOrders.add(workOrder); Logger.info("workorder:" + workOrder.workOrderID + " (" + workOrder.total_produced + "/" + workOrder.total_to_produce + ")");