简化接收网络消息的task函数,不再永久停留于任务队列中
This commit is contained in:
@@ -184,11 +184,7 @@ local loadingThread=coroutine.wrap(function()
|
||||
STAT.run=STAT.run+1
|
||||
|
||||
--Connect to server
|
||||
TASK.new(NET.updateWS_app)
|
||||
TASK.new(NET.updateWS_user)
|
||||
TASK.new(NET.updateWS_play)
|
||||
NET.wsconn_app()
|
||||
TASK.new(NET.freshPlayerCount)
|
||||
YIELD()
|
||||
|
||||
while true do
|
||||
|
||||
Reference in New Issue
Block a user