From 68f2af53069c37045a54fe1ed4221008249f3b3c Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 13 Apr 2024 07:44:16 -0400 Subject: [PATCH] Bugfix in delay override --- 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 96279281..36133d7b 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -98,9 +98,9 @@ public enum ForgeManager implements Runnable { public static void submit(WorkOrder workOrder) { workOrder.workOrderID = wordOrderCounter.incrementAndGet(); + workOrder.rollingDuration = ForgeManager.calcRollingDuration(workOrder); workOrder.completionTime = System.currentTimeMillis() + workOrder.rollingDuration; workOrder.slotCount = calcAvailableSlots(workOrder); - workOrder.rollingDuration = ForgeManager.calcRollingDuration(workOrder); // Cost to execute this workOrder