Fix placing trains

This commit is contained in:
Arne Keller 2020-02-19 18:40:43 +01:00
parent e8a2a28aa8
commit 8811dcf228

View File

@ -185,7 +185,7 @@ public final class Train {
} }
} }
this.position = positions; this.position = positions;
this.direction = direction; this.direction = rawDirection.normalized();
this.occupiedRails = occupiedRailsSet; this.occupiedRails = occupiedRailsSet;
return true; return true;