diff options
Diffstat (limited to 'server-beta/src/pub/pub.lua')
-rw-r--r-- | server-beta/src/pub/pub.lua | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/server-beta/src/pub/pub.lua b/server-beta/src/pub/pub.lua index 3e97fe9f..19800e95 100644 --- a/server-beta/src/pub/pub.lua +++ b/server-beta/src/pub/pub.lua @@ -226,11 +226,9 @@ function m.checkDead() end end -function m.listen() - timer.loop(0.001, function () - m.checkDead() - m.recieve() - end) +function m.step() + m.checkDead() + m.recieve() end return m |