MIDI PC/CC script: missed a 'local' declaration

This commit is contained in:
Brent Baccala 2025-11-13 12:55:57 -05:00
parent 3a61a355ee
commit d8f01e1eb8

View file

@ -111,6 +111,7 @@ function roll_transport(value, location)
Session:request_stop (false, false, ARDOUR.TransportRequestSource.TRS_UI)
else
-- default value of location is 0 (start of session)
local start_sample
if not location then
start_sample = 0
elseif type(location) == "string" then