diff options
Diffstat (limited to 'script/proto/proto.lua')
-rw-r--r-- | script/proto/proto.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/proto/proto.lua b/script/proto/proto.lua index 991a3c60..d01c8f36 100644 --- a/script/proto/proto.lua +++ b/script/proto/proto.lua @@ -57,7 +57,7 @@ function m.send(data) io.write(buf) elseif m.mode == 'socket' then m.client:write(buf) - m.client:update() + net.update() end end @@ -265,7 +265,7 @@ function m.listen(mode, socketPort) t:remove() m.client = client client:write(dummyClient.buf) - client:update() + net.update() end pub.task('loadProtoBySocket', { |