bugfix
This commit is contained in:
@@ -10,6 +10,7 @@ public class TurnoutLN extends TurnoutL{
|
||||
|
||||
@Override
|
||||
public Map<Connector, State> connections(Direction from) {
|
||||
if (isNull(from) || oneWay == from) return new HashMap<>();
|
||||
switch (from) {
|
||||
case NORTH:
|
||||
return Map.of(new Connector(x,y+1,Direction.NORTH),State.STRAIGHT,new Connector(x+1, y, Direction.WEST),State.LEFT);
|
||||
|
||||
Reference in New Issue
Block a user