Browse Source

Minor class cleanup

combat-2
MagicBot 9 months ago
parent
commit
35fab88949
  1. 6
      src/engine/gameManager/ForgeManager.java

6
src/engine/gameManager/ForgeManager.java

@ -35,6 +35,12 @@ public enum ForgeManager implements Runnable { @@ -35,6 +35,12 @@ public enum ForgeManager implements Runnable {
WorkOrder workOrder = workOrders.take();
// Completed or canceled work orders are not re-enqueued
if (workOrder.runCanceled || workOrder.runCompleted)
continue;
;
// Fulfill workOrder
for (int i = 0; i < workOrder.slotCount; ++i) {

Loading…
Cancel
Save