升级本地和服务器提供的房间数据格式(警告:和旧版本不兼容),修复“游戏中”标记会被带到别的房间

This commit is contained in:
MrZ626
2021-05-17 00:59:14 +08:00
parent 2f06c1b476
commit 3b82a144ea
4 changed files with 66 additions and 46 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.allReady=false end
if not ready then NET.roomInfo.allReady=false end
SFX.play('spin_0',.6)
if i==1 then
NET.unlock('ready')