minor bugfix

This commit is contained in:
Stephan Richter
2021-07-01 13:31:58 +02:00
parent f0d3ad094f
commit 5087486218
2 changed files with 2 additions and 1 deletions

View File

@@ -332,6 +332,7 @@ public class Train extends BaseClass implements Comparable<Train> {
}
parkingTrain.remove();
updateEnds();
if (isSet(currentBlock)) currentBlock.setTrain(this);
}