修复load完忘了启动ws-play的task
This commit is contained in:
@@ -180,6 +180,7 @@ local loadingThread=coroutine.create(function()
|
|||||||
--Connect to server
|
--Connect to server
|
||||||
TASK.new(TICK_WS_app)
|
TASK.new(TICK_WS_app)
|
||||||
TASK.new(TICK_WS_user)
|
TASK.new(TICK_WS_user)
|
||||||
|
TASK.new(TICK_WS_play)
|
||||||
WS.connect("app","/app")
|
WS.connect("app","/app")
|
||||||
if USER.authToken then
|
if USER.authToken then
|
||||||
WS.connect("user","/user",JSON.encode{
|
WS.connect("user","/user",JSON.encode{
|
||||||
|
|||||||
Reference in New Issue
Block a user