This commit is contained in:
Stephan Richter
2020-10-27 19:05:08 +01:00
parent 7b8aea89f2
commit 80c1d4a32b
2 changed files with 3 additions and 2 deletions

View File

@@ -155,9 +155,10 @@ public class Route implements Constants{
public void finish() throws IOException {
startBlock.train(null);
train.route = null;
train.route = null;
unlock();
endBlock.train(train.heading(endDirection.inverse()));
train = null;
}
public boolean free() {