use != Monitor instead of all the other cases

This commit is contained in:
Isaac Connor 2021-11-09 13:59:05 -05:00
parent bdf55f105e
commit 82a26a1f83
1 changed files with 1 additions and 1 deletions

View File

@ -2004,7 +2004,7 @@ bool Monitor::Analyse() {
} // end if ! event } // end if ! event
} // end if RECORDING } // end if RECORDING
if (score and (function == MODECT or function == NODECT or function == MOCORD)) { if (score and (function != MONITOR)) {
if ((state == IDLE) || (state == TAPE) || (state == PREALARM)) { if ((state == IDLE) || (state == TAPE) || (state == PREALARM)) {
// If we should end then previous continuous event and start a new non-continuous event // If we should end then previous continuous event and start a new non-continuous event
if (event && event->Frames() if (event && event->Frames()