From 1a743c2dd67df10e4e15191b2aeb8532158b28ad Mon Sep 17 00:00:00 2001
From: Gabriel PĂ©rez-Cerezo <gabriel@gpcf.eu>
Date: Mon, 14 Sep 2020 16:51:43 +0200
Subject: Fix manual switching on regular track switches.

---
 advtrains/tracks.lua | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/advtrains/tracks.lua b/advtrains/tracks.lua
index 39fdbd2..45d45ff 100644
--- a/advtrains/tracks.lua
+++ b/advtrains/tracks.lua
@@ -58,7 +58,7 @@ advtrains.ap.t_30deg_flat={
 			conns = conns3(0,8,7),
 			desc = "left switch (straight)",
 			trackworker = "swrst",
-			switchalt = "swlcr",
+			switchalt = "cr",
 			switchmc = "on",
 			switchst = "st",
 			switchprefix = "swl",
@@ -67,7 +67,7 @@ advtrains.ap.t_30deg_flat={
 			conns = conns3(0,7,8),
 			desc = "left switch (curve)",
 			trackworker = "swrcr",
-			switchalt = "swlst",
+			switchalt = "st",
 			switchmc = "off",
 			switchst = "cr",
 			switchprefix = "swl",
@@ -76,7 +76,7 @@ advtrains.ap.t_30deg_flat={
 			conns = conns3(0,8,9),
 			desc = "right switch (straight)",
 			trackworker = "st",
-			switchalt = "swrcr",
+			switchalt = "cr",
 			switchmc = "on",
 			switchst = "st",
 			switchprefix = "swr",
@@ -85,7 +85,7 @@ advtrains.ap.t_30deg_flat={
 			conns = conns3(0,9,8),
 			desc = "right switch (curve)",
 			trackworker = "st",
-			switchalt = "swrst",
+			switchalt = "st",
 			switchmc = "off",
 			switchst = "cr",
 			switchprefix = "swr",
@@ -227,7 +227,7 @@ advtrains.ap.t_45deg={
 			conns = conns3(0,8,6),
 			desc = "left switch (straight)",
 			trackworker = "swrst",
-			switchalt = "swlcr",
+			switchalt = "cr",
 			switchmc = "on",
 			switchst = "st",
 		},
@@ -235,7 +235,7 @@ advtrains.ap.t_45deg={
 			conns = conns3(0,6,8),
 			desc = "left switch (curve)",
 			trackworker = "swrcr",
-			switchalt = "swlst",
+			switchalt = "st",
 			switchmc = "off",
 			switchst = "cr",
 		},
@@ -243,7 +243,7 @@ advtrains.ap.t_45deg={
 			conns = conns3(0,8,10),
 			desc = "right switch (straight)",
 			trackworker = "st",
-			switchalt = "swrcr",
+			switchalt = "cr",
 			switchmc = "on",
 			switchst = "st",
 		},
@@ -251,7 +251,7 @@ advtrains.ap.t_45deg={
 			conns = conns3(0,10,8),
 			desc = "right switch (curve)",
 			trackworker = "st",
-			switchalt = "swrst",
+			switchalt = "st",
 			switchmc = "off",
 			switchst = "cr",
 		},
-- 
cgit v1.2.3