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

@@ -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() {