This commit is contained in:
Stephan Richter
2021-06-24 17:40:51 +02:00
parent 252a8a65cb
commit 1454a81803
3 changed files with 3 additions and 3 deletions

View File

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

View File

@@ -33,7 +33,7 @@ public class DelayedAction extends ActionList {
public boolean fire(Context context) {
int delay = min_delay + (min_delay < max_delay ? random.nextInt(max_delay - min_delay) : 0);
new DelayedExecution(delay) {
new DelayedExecution(delay,this) {
@Override
public void execute() {

View File

@@ -45,7 +45,7 @@ public class WaitForContact extends ActionList {
}
};
contact.addListener(listener);
new DelayedExecution(timeout) {
new DelayedExecution(timeout,this) {
@Override
public void execute() {