timers.lua: export cooldown
This commit is contained in:
parent
8a1d772bb4
commit
72f20234f0
@ -70,6 +70,7 @@ do
|
||||
end
|
||||
events.TICK:register(function() if player then tick() end end, "cooldown")
|
||||
end
|
||||
timers.cooldown=cooldown
|
||||
|
||||
function rateLimit(ticks, next, name)
|
||||
if timers.cooldown(ticks+1, name) then
|
||||
|
Loading…
x
Reference in New Issue
Block a user