diff --git a/src/edu/kit/informatik/modelrailwaysimulator/model/Switch.java b/src/edu/kit/informatik/modelrailwaysimulator/model/Switch.java index 828fbd9..d01fb6e 100644 --- a/src/edu/kit/informatik/modelrailwaysimulator/model/Switch.java +++ b/src/edu/kit/informatik/modelrailwaysimulator/model/Switch.java @@ -35,8 +35,8 @@ public final class Switch extends Rail { */ public Switch(Vector2D start, Vector2D end1, Vector2D end2, int id) throws InvalidInputException { super(id); - this.positionOne = new Track(start, end1, -1); - this.positionTwo = new Track(start, end2, -1); + this.positionOne = new Track(start, end1, 1); + this.positionTwo = new Track(start, end2, 1); } @Override