From cb2e51808d7d14885926117ff8b5e89e2b548733 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Tue, 14 Jun 2022 10:00:32 -0500 Subject: [PATCH] Lua script: reset_mixer: fix thinko that broke automation state reset --- share/scripts/reset_mixer.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/scripts/reset_mixer.lua b/share/scripts/reset_mixer.lua index 99ce035519..ec1f93c144 100644 --- a/share/scripts/reset_mixer.lua +++ b/share/scripts/reset_mixer.lua @@ -203,7 +203,7 @@ function factory() return function() if not(msec:isnil()) then msec:set_value(1, disp) if auto then - ctrl:set_automation_state(auto) + msec:set_automation_state(auto) end end end