整理代码,配合修改一个联网命令类型,修改联网相关场景背景
This commit is contained in:
@@ -177,9 +177,9 @@ local loadingThread=coroutine.wrap(function()
|
||||
STAT.run=STAT.run+1
|
||||
|
||||
--Connect to server
|
||||
TASK.new(NET.TICK_WS_app)
|
||||
TASK.new(NET.TICK_WS_user)
|
||||
TASK.new(NET.TICK_WS_play)
|
||||
TASK.new(NET.updateWS_app)
|
||||
TASK.new(NET.updateWS_user)
|
||||
TASK.new(NET.updateWS_play)
|
||||
WS.connect("app","/app")
|
||||
if USER.authToken then
|
||||
WS.connect("user","/user",JSON.encode{
|
||||
|
||||
Reference in New Issue
Block a user