use != Monitor instead of all the other cases

This commit is contained in:
Isaac Connor 2021-11-09 13:59:05 -05:00
parent 38105c6796
commit 5d23362ae0
1 changed files with 1 additions and 1 deletions

View File

@ -2004,7 +2004,7 @@ bool Monitor::Analyse() {
} // end if ! event
} // 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 we should end then previous continuous event and start a new non-continuous event
if (event && event->Frames()