Warehouse loading work.

This commit is contained in:
2024-03-17 10:52:33 -04:00
parent aa0afa533d
commit 5f930b0482
2 changed files with 19 additions and 0 deletions
@@ -1343,6 +1343,10 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
return false;
}
Warehouse warehouse = new Warehouse(warehouseBuilding);
city.warehouse = warehouse;
DbManager.WarehouseQueries.UPDATE_WAREHOUSE(warehouse);
// Load the building into the simulation
warehouseBuilding.setObjectTypeMask(MBServerStatics.MASK_BUILDING);