diff --git a/parts/net.lua b/parts/net.lua index cf66896f..4b99bdf4 100644 --- a/parts/net.lua +++ b/parts/net.lua @@ -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 diff --git a/parts/scenes/net_game.lua b/parts/scenes/net_game.lua index 59041744..f7202fca 100644 --- a/parts/scenes/net_game.lua +++ b/parts/scenes/net_game.lua @@ -261,7 +261,13 @@ function scene.update(dt) NETPLY.mouseMove(0,0) for i=1,#NETPLY.list do - NETPLY.list[i].readyMode='Playing' + local p=NETPLY.list[i] + if p.playMode=='Gamer' then + p.readyMode='Playing' + p.place=1 + else + p.place=1e99 + end end NET.spectate=PLAYERS[1].uid~=USER.uid if NET.storedStream then