Warehouse loading work.
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user