Browse Source

Sanity check for deleted vendors

postwipe-mines
MagicBot 7 months ago
parent
commit
3accd779b9
  1. 2
      src/engine/gameManager/ForgeManager.java

2
src/engine/gameManager/ForgeManager.java

@ -67,7 +67,7 @@ public enum ForgeManager implements Runnable { @@ -67,7 +67,7 @@ public enum ForgeManager implements Runnable {
// Early exit for completed workOrders loaded from disk
// or vendors who were re-deeded with items still cooking.
if (workOrder.vendor == null && workOrder.runCompleted.get())
if (workOrder.vendor == null || workOrder.runCompleted.get())
continue;
// This workOrder has completed production.

Loading…
Cancel
Save