对战房间添加显示排名功能

This commit is contained in:
MrZ626
2021-06-04 02:45:25 +08:00
parent 94d769c01c
commit 6644e62887
3 changed files with 77 additions and 20 deletions

View File

@@ -491,8 +491,8 @@ function NET.updateWS_play()
NET.wsconn_stream(d.srid)
elseif res.action==9 then--Game finished
NET.roomState.start=false
if NET.spectate then NET.signal_setMode(2) end
NET.spectate=false
if NET.spectate then NET.signal_setMode(2) end
if SCN.socketRead then SCN.socketRead('finish',d)end
NET.wsclose_stream()
end