mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-10 14:51:54 +00:00
Fixed removing/cancelling timers not working correctly
This commit is contained in:
parent
27c62df026
commit
72fd6f5d32
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue