修复密码框里有东西的时候如果密码框是隐藏的还会视为填了密码
This commit is contained in:
@@ -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,not _hidePW() and passwordBox.value or nil)
|
||||
else
|
||||
MES.new('error',text.versionNotMatch)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user