From 18d89f8896d97c5eaf1fabc713e93b335891ac7e Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Sat, 10 Oct 2020 20:05:05 +0200 Subject: [PATCH] script tearoff: increase timing only if static --- client/luascripts/lf_em_tearoff_protect.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/luascripts/lf_em_tearoff_protect.lua b/client/luascripts/lf_em_tearoff_protect.lua index 87e16a1c8..7c0b0cd40 100644 --- a/client/luascripts/lf_em_tearoff_protect.lua +++ b/client/luascripts/lf_em_tearoff_protect.lua @@ -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