点击选择房间的时候会有提示音

This commit is contained in:
MrZ626
2021-04-27 21:41:01 +08:00
parent ef9f9ae04f
commit 293258b606
2 changed files with 8 additions and 4 deletions

View File

@@ -182,6 +182,7 @@ function NET.createRoom(roomType,name)
end
function NET.enterRoom(roomID,password)
if NET.lock("enterRoom",1.26)then
SFX.play("reach",.6)
NET.rid=roomID
WS.send("play",JSON.encode{
action=2,