Fixed removing/cancelling timers not working correctly

This commit is contained in:
Timo Smit 2016-02-23 17:32:52 +01:00
parent 27c62df026
commit 72fd6f5d32

View file

@ -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