Open vehicle orders when cloning or building vehicle
This commit is contained in:
@@ -96,6 +96,7 @@ void CcCloneVehicle(const CommandCost &result, TileIndex tile, uint32 p1, uint32
|
||||
const Vehicle *v = Vehicle::Get(_new_vehicle_id);
|
||||
|
||||
ShowVehicleViewWindow(v);
|
||||
ShowOrdersWindow(v);
|
||||
}
|
||||
|
||||
static void TrainDepotMoveVehicle(const Vehicle *wagon, VehicleID sel, const Vehicle *head)
|
||||
|
||||
@@ -2859,6 +2859,7 @@ void CcBuildPrimaryVehicle(const CommandCost &result, TileIndex tile, uint32 p1,
|
||||
|
||||
const Vehicle *v = Vehicle::Get(_new_vehicle_id);
|
||||
ShowVehicleViewWindow(v);
|
||||
ShowOrdersWindow(v);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user