From 6b222a0a14135e6f39eb9e80f3c2bf879811ca2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 8 Nov 2019 14:59:03 +0800 Subject: =?UTF-8?q?=E5=8D=8F=E4=BD=9C=E6=A8=A1=E5=BC=8F=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E9=98=9F=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server-beta/src/pub/pub.lua | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'server-beta/src/pub/pub.lua') 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 -- cgit v1.2.3