规范代码,大量xxx=nil换成xxx=false

This commit is contained in:
MrZ626
2020-12-22 14:54:01 +08:00
parent f611199fab
commit fe2abf6903
25 changed files with 127 additions and 128 deletions

View File

@@ -31,7 +31,7 @@ local scene={}
function scene.sceneInit()
heartBeatTimer=0
remain=nil
remain=false
if #texts==0 then
ins(texts,{COLOR.dG,text.chatStart})
@@ -48,7 +48,7 @@ function scene.sceneInit()
end
function scene.sceneBack()
wsWrite("/quit")
WSCONN=nil
WSCONN=false
LOG.print(text.wsDisconnected,"warn")
end