订正上一个提交漏改的东西
优化debug消息显示格式 调整网络断开提示文本用法
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user