Browse Source

Minor class cleanup

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

2
src/engine/gameManager/ForgeManager.java

@ -58,7 +58,7 @@ public enum ForgeManager implements Runnable { @@ -58,7 +58,7 @@ public enum ForgeManager implements Runnable {
// Resubmit workOrder
workOrder.completionTime = System.currentTimeMillis() + workOrder.rollingDuration;
workOrder.total_produced = workOrder.total_produced - 1;
workOrder.total_produced = workOrder.total_produced + 1;
workOrders.add(workOrder);
Logger.info("workorder:" + workOrder.workOrderID + " (" + workOrder.total_produced + "/" + workOrder.total_to_produce + ")");

Loading…
Cancel
Save