summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/s_tomsloop.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/s_tomsloop.lua b/scripts/s_tomsloop.lua
index 77a7b68116..d4b2fc049c 100644
--- a/scripts/s_tomsloop.lua
+++ b/scripts/s_tomsloop.lua
@@ -55,8 +55,7 @@ function factory () return function ()
end
-- check if there are any regions in the loop-range of this track
- local range = Evoral.Range (loop:start (), loop:_end ())
- if playlist:regions_touched (range):empty () then
+ if playlist:regions_touched (loop:start (), loop:_end ()):empty () then
goto continue
end