订正上一个提交漏改的东西

优化debug消息显示格式
调整网络断开提示文本用法
This commit is contained in:
MrZ_26
2022-10-07 02:36:18 +08:00
parent 37b76a1cb4
commit c06961c9c8
13 changed files with 52 additions and 46 deletions

View File

@@ -144,7 +144,7 @@ function scene.keyDown(key,isRep)
elseif key=='return' then
local mes=STRING.trim(inputBox:getText())
if not inputBox.hide and #mes>0 then
if NET.room.chat(mes) then
if NET.room_chat(mes) then
inputBox:clear()
end
else

View File

@@ -86,7 +86,7 @@ function scene.keyDown(key)
local R=roomList:getSel()
if R and not TASK.getLock('fetchRoom') then
if R.info.version==VERSION.room then
NET.room.enter(R.roomId,passwordBox.value)
NET.room_enter(R.roomId,passwordBox.value)
else
MES.new('error',text.versionNotMatch)
end