diff --git a/src/sequencer/simml_sequencer.cpp b/src/sequencer/simml_sequencer.cpp index 51fba16..0c3886b 100644 --- a/src/sequencer/simml_sequencer.cpp +++ b/src/sequencer/simml_sequencer.cpp @@ -43,10 +43,8 @@ double SiMMLSequencer::get_effective_bpm() const { void SiMMLSequencer::set_effective_bpm(double p_value) { set_default_bpm(p_value); - if (is_ready_to_process()) { - ERR_FAIL_COND_MSG(!_bpm_change_enabled, "SiMMLSequencer: Cannot change BPM while rendering (SiONTrackEvent::NOTE_*_STREAM)."); - set_bpm(p_value); - } + ERR_FAIL_COND_MSG(is_ready_to_process() && !_bpm_change_enabled, "SiMMLSequencer: Cannot change BPM while rendering (SiONTrackEvent::NOTE_*_STREAM)."); + set_bpm(p_value); } // Tracks.