Przeglądaj źródła

Get out of INIT sooner

Zachary Kotlarek 14 lat temu
rodzic
commit
4de1451bcd
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      dmx/rope.pl

+ 2 - 0
dmx/rope.pl

@@ -114,6 +114,8 @@ while (1) {
 			$state = 'OFF';
 		} elsif ($state eq 'OFF' && $timeSinceUpdate < $TIMEOUT) {
 			$state = 'PAUSE';
+		} elsif ($state eq 'INIT') {
+			$state = 'OFF';
 		}
 	}