|
@@ -59,7 +59,7 @@ while (1) {
|
|
|
|
|
|
|
|
# Calculate the new state
|
|
# Calculate the new state
|
|
|
$stateLast = $state;
|
|
$stateLast = $state;
|
|
|
- if ($newState eq 'ON') {
|
|
|
|
|
|
|
+ if ($newState eq 'ON' || $newState eq 'PAUSE') {
|
|
|
$state = 'ON';
|
|
$state = 'ON';
|
|
|
} elsif ($exists{'RAVE'}) {
|
|
} elsif ($exists{'RAVE'}) {
|
|
|
$state = 'RAVE';
|
|
$state = 'RAVE';
|