Correct logic so that RECORD and MOCORD also get events.

This commit is contained in:
Isaac Connor 2021-10-19 15:24:01 -04:00
parent 5f317b3651
commit 6245a4df6a
1 changed files with 1 additions and 1 deletions

View File

@ -2028,7 +2028,7 @@ bool Monitor::Analyse() {
} // end if ! event
} // end if RECORDING
if (score and (function == MODECT or function == NODECT)) {
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()