diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/timer.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/timer.lua b/util/timer.lua index ba7dd429..e52a6917 100644 --- a/util/timer.lua +++ b/util/timer.lua @@ -60,8 +60,8 @@ if not server.event then return next_time; end); else - local event = require "net.server".event; - local event_base = require "net.server".event_base; + local event = server.event; + local event_base = server.event_base; local EVENT_LEAVE = (event.core and event.core.LEAVE) or -1; function _add_task(delay, callback) |