From cc3d5fe0767e5fa4f20e70ed15e9891988eaacf3 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 12 Apr 2024 15:48:25 -0400 Subject: [PATCH] workerOrder cost updating --- 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 f1e04c43..3fabf032 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -106,7 +106,7 @@ public enum ForgeManager implements Runnable { // Set total cost for this production run workOrder.production_cost_total.putAll(workOrder.production_cost); - workOrder.production_cost.forEach((key, value) -> workOrder.production_cost_total.compute(key, (k, v) -> v * workOrder.total_to_produce)); + workOrder.production_cost_total.forEach((key, value) -> workOrder.production_cost_total.compute(key, (k, v) -> v * workOrder.total_to_produce)); // Single item rolls are total_to_produce of 0;