完善玩家刷新机制 close #335

This commit is contained in:
MrZ626
2021-09-28 01:55:57 +08:00
parent 438fef9f26
commit 4bf7ef0e25
5 changed files with 91 additions and 97 deletions

View File

@@ -146,6 +146,8 @@ local function _newEmptyPlayer(id,mini)
P.frameRun=GAME.frameStart--Frame run, mainly for replay
P.endCounter=0--Used after gameover
P.dropTime={}for i=1,10 do P.dropTime[i]=-1e99 end P.dropSpeed=0
P.stream={}
P.streamProgress=false--1 to start play recording
--Randomizers
P.seqRND=love.math.newRandomGenerator(GAME.seed)
@@ -457,9 +459,7 @@ function PLY.newRemotePlayer(id,mini,ply)
P.type='remote'
P.draw=ply_draw.norm
P.stream={}
P.streamProgress=1
P:startStreaming()
netPLY.setPlayerObj(ply,P)
P.uid=ply.uid