Warehouse withdraws are persisted
This commit is contained in:
1 parent
692e7ec416
commit
cc324777d1
1 file changed
+1
@@ -378,6 +378,7 @@ public enum ForgeManager implements Runnable {
|
||||
return false;
|
||||
|
||||
workOrder.production_cost_total.forEach((key, value) -> warehouse.resources.compute(key, (k, v) -> warehouse.resources.get(key) - value));
|
||||
DbManager.WarehouseQueries.UPDATE_WAREHOUSE(warehouse);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user