Permalink
Browse files

fix: keep direction of locomotives in automode

  • Loading branch information...
cbries committed Sep 17, 2017
1 parent 53d6a5a commit ed2a4a458fe0f3858ba2d331db96916f0d939831
@@ -419,7 +419,8 @@ public void Start()
if (locObject != null)
{
locObject.ChangeDirection(false);
// DO NOT CHANGE DIRECTION OF LOCOMOTIVE (!!)
//locObject.ChangeDirection(false);
locObject.ChangeSpeed(locObject.MaxSpeedPercentage);
}

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -768,7 +768,8 @@
"description": "",
"options": {
"blockGroupIdentifier": "7",
"events": "{\r\n \"sensor0\": \"0,10\",\r\n \"sensor1\": \"1,10\",\r\n \"sensor2\": \"--\",\r\n \"event0\": \"enter\",\r\n \"event1\": \"in\",\r\n \"event2\": \"--\"\r\n}"
"events": "{\r\n \"sensor0\": \"0,10\",\r\n \"sensor1\": \"1,10\",\r\n \"sensor2\": \"--\",\r\n \"event0\": \"enter\",\r\n \"event1\": \"in\",\r\n \"event2\": \"--\"\r\n}",
"blockCurrentLocomotive": "1007"
}
},
{
@@ -780,7 +781,8 @@
"description": "",
"options": {
"blockGroupIdentifier": "7",
"events": "{\r\n \"sensor0\": \"0,11\",\r\n \"sensor1\": \"1,11\",\r\n \"sensor2\": \"--\",\r\n \"event0\": \"enter\",\r\n \"event1\": \"in\",\r\n \"event2\": \"--\"\r\n}"
"events": "{\r\n \"sensor0\": \"0,11\",\r\n \"sensor1\": \"1,11\",\r\n \"sensor2\": \"--\",\r\n \"event0\": \"enter\",\r\n \"event1\": \"in\",\r\n \"event2\": \"--\"\r\n}",
"blockCurrentLocomotive": "1001"
}
},
{

0 comments on commit ed2a4a4

Please sign in to comment.