From 260796203849120500e6e4d71a8f2834dc0b60e6 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 23 Apr 2024 13:40:51 -0400 Subject: [PATCH] Minor cleanup --- src/engine/gameManager/ForgeManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index d0dd2781..a74cc200 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -130,11 +130,11 @@ public enum ForgeManager implements Runnable { if (!workOrder.multiple_slot_request && workOrder.total_to_produce == 0) workOrder.total_to_produce = 1; - workOrder.total_to_produce *= workOrder.slots_used; - workOrder.production_cost = calcProductionCost(workOrder); - // Set total cost for this production run + workOrder.total_to_produce *= workOrder.slots_used; + + workOrder.production_cost = calcProductionCost(workOrder); workOrder.production_cost_total.putAll(workOrder.production_cost); workOrder.production_cost_total.forEach((key, value) -> workOrder.production_cost_total.put(key, value * workOrder.total_to_produce));