改回部分测试代码,可以进房间,准备修改房间内命令

This commit is contained in:
MrZ626
2021-04-01 20:11:59 +08:00
parent 81fa257915
commit ed66e69e7c
2 changed files with 2 additions and 2 deletions

View File

@@ -273,7 +273,7 @@ function NET.TICK_WS_play()
NET.roomList=res.roomList
_unlock("fetchRoom")
elseif res.action==2 then--Join(create) room
-- loadGame("netBattle",true,true)
loadGame("netBattle",true,true)
_unlock("enterRoom")
elseif res.action==3 then--Leave room
SCN.back()

View File

@@ -58,7 +58,7 @@ function scene.keyDown(k)
LOG.print("Can't enter private room now")
return
end
NET.enterRoom(NET.roomList[selected].id)--,password
NET.enterRoom(NET.roomList[selected].rid)--,password
end
end
end