changeset 6780 | 5de6b93d0190 |
parent 5776 | bd0ff8ae98a8 |
child 6794 | e813e8cf6046 |
child 7991 | dc758422d896 |
--- a/util/timer.lua Mon Aug 10 22:16:05 2015 +0200 +++ b/util/timer.lua Sat Feb 21 10:36:37 2015 +0100 @@ -17,7 +17,7 @@ local data = {}; local new_data = {}; -module "timer" +local _ENV = nil; local _add_task; if not server.event then @@ -78,6 +78,6 @@ end end -add_task = _add_task; - -return _M; +return { + add_task = _add_task; +};