From 72fd6f5d3260256c903eca22f32ac756a9bbd225 Mon Sep 17 00:00:00 2001 From: Timo Smit Date: Tue, 23 Feb 2016 17:32:52 +0100 Subject: [PATCH] Fixed removing/cancelling timers not working correctly --- luascripts/util/timers.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/luascripts/util/timers.lua b/luascripts/util/timers.lua index dbda078..b246b93 100644 --- a/luascripts/util/timers.lua +++ b/luascripts/util/timers.lua @@ -46,6 +46,8 @@ function timers.remove(id) for i = 1, #data do if data[i]["id"] == id then table.remove(data, i) + + return end end end