Use StationSpec for basic station
This commit is contained in:
parent
7f563b37a4
commit
a98e2cfb2b
4 changed files with 63 additions and 60 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue