fix connectivity

This commit is contained in:
Branislav Stojkovic
2019-02-28 21:26:41 +01:00
parent 57bce6b8e5
commit 65315ed559
4 changed files with 1 additions and 1 deletions
Binary file not shown.
@@ -462,7 +462,7 @@ public class LeverSwitch extends AbstractTransparentComponent<String> implements
case DP3T:
return (index2 == 6 || index1 == 1) && index2 == index1 + 2 * (position + 1);
case DP4T:
return (index2 == 8 || index1 == 1) && index2 - index1 == position + 1;
return (index2 == 8 || index1 == 1) && index2 == index1 + 2 * (position + 1);
case DP3T_5pos:
if (position % 2 == 0)
return (index2 == 6 || index1 == 1) && index2 == index1 + position + 2;