From 5ade37f7a4d36665aa8adb3ca3aa2e8b12049117 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 15 Apr 2024 11:15:34 -0400 Subject: [PATCH] Persist item work --- src/engine/gameManager/ForgeManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index a4a9048a..0bf3562f 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -66,7 +66,8 @@ public enum ForgeManager implements Runnable { for (Item workOrderItem : workOrder.cooking) { workOrderItem.setDateToUpgrade(0); - + ItemProductionMsg outMsg = new ItemProductionMsg(workOrder.vendor.building, workOrder.vendor, workOrderItem, mbEnums.ProductionActionType.CONFIRM_PRODUCE, true); + DispatchMessage.dispatchMsgToInterestArea(workOrder.vendor, outMsg, mbEnums.DispatchChannel.SECONDARY, 700, false, false); } Logger.info("workOrder has completed: " + workOrder.workOrderID);