diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index f91aec6f..6d8ce8fe 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -52,6 +52,10 @@ public enum ForgeManager implements Runnable { while (true) { + // ForgeManager.forge is a delayQueue (priority queue using an epoc sort) + // workOrders are popped and processed when the completion time has passed. + // workOrders can be enqueued from any thread. + try { workOrder = forge.take();