diff --git a/firmware/Gravity/Gravity.ino b/firmware/Gravity/Gravity.ino index f9bd119..718bba8 100644 --- a/firmware/Gravity/Gravity.ino +++ b/firmware/Gravity/Gravity.ino @@ -227,11 +227,13 @@ void HandleEncoderPressed() { case PARAM_MAIN_LOAD_DATA: if (app.selected_sub_param < StateManager::MAX_SAVE_SLOTS) { app.selected_save_slot = app.selected_sub_param; + // Load pattern data into app state. stateManager.loadData(app, app.selected_save_slot); + // Load global performance settings if they have changed. if (gravity.clock.Tempo() != app.tempo) { gravity.clock.SetTempo(app.tempo); } - // If clock is active, just load the pattern, do not change other global state. + // Load global settings only clock is not active. if (gravity.clock.IsPaused()) { InitGravity(app); }