Zachary Kotlarek il y a 10 ans
Parent
commit
8ba3e83ab1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      dmx/announce.pl

+ 1 - 1
dmx/announce.pl

@@ -148,7 +148,7 @@ while (1) {
 		&& exists($last{'PROJECTOR_CTRL_POWER'})
 		&& $exists{'PROJECTOR_CTRL_POWER'} ne $last{'PROJECTOR_CTRL_POWER'})
 	{
-		if ($exists{'PROJECTOR_CTRL_POWER'} eq 'OFF' && $exists{'PROJECTOR_CTRL_POWER'} eq 'ON') {
+		if ($exists{'PROJECTOR_CTRL_POWER'} eq 'OFF' || $exists{'PROJECTOR_CTRL_POWER'} eq 'ON') {
 			$projLast = 0;
 			DMX::say('Projector: ' . lc($exists{'PROJECTOR_CTRL_POWER'}));