diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index 75c627fa..1cec29be 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -62,6 +62,7 @@ public enum ForgeManager implements Runnable { // Complete this workOrder. for (Item workOrderItem : workOrder.cooking) { + workOrderItem.flags.add(mbEnums.ItemFlags.Identified); ItemProductionMsg outMsg = new ItemProductionMsg(workOrder.vendor.building, workOrder.vendor, workOrderItem, mbEnums.ProductionActionType.CONFIRM_PRODUCE, true); DispatchMessage.dispatchMsgToInterestArea(workOrder.vendor, outMsg, mbEnums.DispatchChannel.SECONDARY, 700, false, false); } @@ -298,6 +299,10 @@ public enum ForgeManager implements Runnable { for (Item workOrderItem : workOrder.cooking) { + // Identify completed items + + workOrderItem.flags.add(mbEnums.ItemFlags.Identified); + // Persist item Item completedItem = DbManager.ItemQueries.PERSIST(workOrderItem);