From 315c2abfb9701f24e71130548c6947d29dc2844a Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 15 Apr 2024 15:15:08 -0400 Subject: [PATCH] Remove workorder when completed --- src/engine/gameManager/ForgeManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index 2da142aa..16c24e70 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -70,6 +70,7 @@ public enum ForgeManager implements Runnable { } Logger.info("workOrder has completed: " + workOrder.workOrderID); + ForgeManager.vendorWorkOrderLookup.get(workOrder.vendor).remove(workOrder); workOrder.runCompleted = true; }