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

@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.srsoftware</groupId>
<artifactId>web4rail</artifactId>
<version>1.5.11</version>
<version>1.5.12</version>
<name>Web4Rail</name>
<packaging>jar</packaging>
<description>Java Model Railway Control</description>

View File

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