From a944f7342a951627125305a29a744dd5487091ed Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 16 Apr 2024 15:17:15 -0400 Subject: [PATCH] All rolls treated equally --- src/engine/gameManager/ForgeManager.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index 54571cea..e81276f5 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -64,12 +64,10 @@ public enum ForgeManager implements Runnable { // Complete this workOrder. - if (workOrder.multiple_slot_request == false) { - for (Item workOrderItem : workOrder.cooking) { - 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); + for (Item workOrderItem : workOrder.cooking) { + 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); ForgeManager.vendorWorkOrderLookup.get(workOrder.vendor).remove(workOrder);