From 8f5899af33505ac5b7a8cf89f0f8a9eac001323b Mon Sep 17 00:00:00 2001 From: Abdurrahman Aborazmeh Date: Sun, 21 Jul 2024 13:23:01 +0300 Subject: [PATCH] Restore playback speed only if speed transition is enabled --- speed-transition.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/speed-transition.lua b/speed-transition.lua index 12212ab..4052262 100644 --- a/speed-transition.lua +++ b/speed-transition.lua @@ -503,7 +503,9 @@ function switch_mode() end function reset_on_file_load() - restore_normalspeed() + if enable then + restore_normalspeed() + end reset_state() end