Warehouse loading work.

This commit is contained in:
MagicBot committed 2024-03-17 10:52:33 -04:00
1 parent aa0afa533d
commit 5f930b0482
2 files changed
+19

No files matched your search

@@ -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);