summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/_midifilter.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/_midifilter.lua b/scripts/_midifilter.lua
index d6a1c1f567..48f61a8277 100644
--- a/scripts/_midifilter.lua
+++ b/scripts/_midifilter.lua
@@ -32,7 +32,7 @@ function dsp_run (_, _, n_samples)
if (#d == 3 and event_type == 9) then -- note on
tx_midi (t, d)
- elseif (#d == 3 and event_type = 8) then -- note off
+ elseif (#d == 3 and event_type == 8) then -- note off
tx_midi (t, d)
end
end