script tearoff: increase timing only if static

This commit is contained in:
Philippe Teuwen 2020-10-10 20:05:05 +02:00
parent d3908f802e
commit 18d89f8896

View file

@ -128,7 +128,7 @@ local function main(args)
-- increase loop
sd = sd + n
if tries == 20 then
if (tries == 20) and (n == 0) then
tries = 0
sd = sd + 1
ed = ed + 1