Bug behoben: delay() funktioniert nun auch nach Stopp der ZM

This commit is contained in:
ngb
2022-07-17 15:57:02 +02:00
parent 6551bb75c9
commit 17c31a1a03

View File

@@ -952,7 +952,8 @@ public class Zeichenmaschine extends Constants {
return; return;
} }
if( state != Options.AppState.RUNNING ) { if( state == Options.AppState.INITIALIZING ||
state == Options.AppState.INITIALIZED ) {
LOG.warn("Don't use delay(int) from within settings() or setup()."); LOG.warn("Don't use delay(int) from within settings() or setup().");
return; return;
} }