bugfix
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -4,7 +4,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>de.srsoftware</groupId>
|
||||
<artifactId>web4rail</artifactId>
|
||||
<version>1.1.2</version>
|
||||
<version>1.1.3</version>
|
||||
<name>Web4Rail</name>
|
||||
<packaging>jar</packaging>
|
||||
<description>Java Model Railway Control</description>
|
||||
|
||||
@@ -96,8 +96,10 @@ public class Train extends BaseClass implements Comparable<Train> {
|
||||
Thread.sleep(waitTime);
|
||||
if (waitTime > 100) waitTime /=2;
|
||||
if (stop) return;
|
||||
Train.this.start();
|
||||
if (isSet(destination)) Thread.sleep(1000); // limit load on PathFinder
|
||||
if (isNull(route)) { // may have been set by start action in between
|
||||
Train.this.start();
|
||||
if (isSet(destination)) Thread.sleep(1000); // limit load on PathFinder
|
||||
}
|
||||
} else Thread.sleep(250);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user