Browse Source

Persist item work

combat-2
MagicBot 7 months ago
parent
commit
2b670ea53a
  1. 1
      src/engine/gameManager/ForgeManager.java

1
src/engine/gameManager/ForgeManager.java

@ -65,7 +65,6 @@ public enum ForgeManager implements Runnable {
// and set the items as completed. // and set the items as completed.
for (Item workOrderItem : workOrder.cooking) { for (Item workOrderItem : workOrder.cooking) {
workOrderItem.setDateToUpgrade(0);
ItemProductionMsg outMsg = new ItemProductionMsg(workOrder.vendor.building, workOrder.vendor, workOrderItem, mbEnums.ProductionActionType.CONFIRM_PRODUCE, true); 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); DispatchMessage.dispatchMsgToInterestArea(workOrder.vendor, outMsg, mbEnums.DispatchChannel.SECONDARY, 700, false, false);
} }

Loading…
Cancel
Save