Browse Source

Remove workorder when completed

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

1
src/engine/gameManager/ForgeManager.java

@ -70,6 +70,7 @@ public enum ForgeManager implements Runnable {
} }
Logger.info("workOrder has completed: " + workOrder.workOrderID); Logger.info("workOrder has completed: " + workOrder.workOrderID);
ForgeManager.vendorWorkOrderLookup.get(workOrder.vendor).remove(workOrder);
workOrder.runCompleted = true; workOrder.runCompleted = true;
} }

Loading…
Cancel
Save