Skip to content

Commit

Permalink
Do not check tally triggers until one active interval has run.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjlaboss committed Mar 28, 2024
1 parent 65490e7 commit 29b0782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tallies/trigger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ void check_triggers()
// See if the current batch is one for which the triggers must be checked.
if (!settings::trigger_on)
return;
if (current_batch < n_batches)
if (current_batch <= n_batches)
return;
if (((current_batch - n_batches) % interval) != 0)
return;
Expand Down

0 comments on commit 29b0782

Please sign in to comment.