minor bugfixes

This commit is contained in:
Stephan Richter
2020-11-13 11:55:59 +01:00
parent 9eb8f5443a
commit f2ee754064
7 changed files with 15 additions and 12 deletions

View File

@@ -631,6 +631,7 @@ public class Train extends BaseClass implements Comparable<Train> {
if (isNull(error) && !route.train(this)) error = t("Was not able to assign {} to {}!",this,route);
if (isSet(error)) {
route.reset();
route = null;
return error;
}
setSpeed(128);