Use StationSpec for basic station

This commit is contained in:
hal8174 2025-05-03 15:18:10 +02:00
parent 7f563b37a4
commit a98e2cfb2b
4 changed files with 63 additions and 60 deletions

View file

@ -266,16 +266,7 @@ pub fn multistation(
}
// station
let mut b = basic_station(
station.load,
station.locomotives,
station.wagons,
station.lanes,
station.beltspeed,
station.belttype,
station.stacked,
basic_spec,
);
let mut b = basic_station(station, basic_spec);
let output_height = -b.bounding_box().min().y;
b.transform(Transformation::new(