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