实现房间内排名(方法有点小神秘 不过应该能用
This commit is contained in:
@@ -701,6 +701,7 @@ function NET.wsCallBack.player_finish(body)
|
||||
if SCN.cur~='net_game' then return end
|
||||
for _,P in next,PLY_ALIVE do
|
||||
if P.uid==body.data.playerId then
|
||||
NETPLY.setPlace(P.uid,#PLY_ALIVE)
|
||||
P.loseTimer=26
|
||||
P:lose(true)
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user