Browse Source

Window refresh update

combat-2
MagicBot 8 months ago
parent
commit
cba7ee4066
  1. 3
      src/engine/gameManager/ForgeManager.java

3
src/engine/gameManager/ForgeManager.java

@ -330,6 +330,9 @@ public enum ForgeManager implements Runnable {
workOrder.cooking.remove(workOrderItem); workOrder.cooking.remove(workOrderItem);
itemWorkOrderLookup.remove(workOrderItem); itemWorkOrderLookup.remove(workOrderItem);
ItemProductionMsg outMsg = new ItemProductionMsg(workOrder.vendor.building, workOrder.vendor, workOrderItem, mbEnums.ProductionActionType.CONFIRM_SETPRICE, true);
DispatchMessage.dispatchMsgToInterestArea(workOrder.vendor, outMsg, mbEnums.DispatchChannel.SECONDARY, 700, false, false);
// Persist item // Persist item
Item completedItem = DbManager.ItemQueries.PERSIST(workOrderItem); Item completedItem = DbManager.ItemQueries.PERSIST(workOrderItem);

Loading…
Cancel
Save