removed route managing code: preparing to re-implement

This commit is contained in:
Stephan Richter
2021-03-07 23:05:50 +01:00
parent c549f7364d
commit 4cade0a12e
7 changed files with 26 additions and 516 deletions

View File

@@ -407,7 +407,7 @@ public abstract class Block extends StretchableTile{
Train newTrain = Train.get(trainId);
if (isSet(newTrain) && newTrain != train) {
newTrain.dropTrace();
if (connections(newTrain.direction()).isEmpty()) newTrain.heading(null);
if (connections(newTrain.direction()).isEmpty()) newTrain.heading(null);
newTrain.set(this);
}
}