Tweak to repeatUtil.

develop
expwnent 2014-07-03 08:09:47 -04:00
parent d8322b413a
commit 9d2c7a1abc
1 changed files with 7 additions and 0 deletions

@ -30,5 +30,12 @@ function scheduleEvery(name,time,timeUnits,func)
helper() helper()
end end
function scheduleUnlessAlreadyScheduled(name,time,timeUnits,func)
if repeating[name] then
return
end
scheduleEvery(name,time,timeUnits,func)
end
return _ENV return _ENV