新的对战房间数据结构,整理相关内容

This commit is contained in:
MrZ626
2021-05-18 02:18:14 +08:00
parent b8597d1518
commit 30e276b132
4 changed files with 57 additions and 51 deletions

View File

@@ -108,7 +108,7 @@ function netPLY.setReady(uid,ready)
if p.uid==uid then
if p.ready~=ready then
p.ready=ready
if not ready then NET.roomInfo.allReady=false end
if not ready then NET.allReady=false end
SFX.play('spin_0',.6)
if i==1 then
NET.unlock('ready')