联网推进,整理代码

This commit is contained in:
MrZ626
2021-04-08 14:00:15 +08:00
parent 194bd8085f
commit f3f63454d3
7 changed files with 102 additions and 54 deletions

View File

@@ -1683,9 +1683,9 @@ function Player:die()--Called both when win/lose!
self.visTime[i][j]=min(self.visTime[i][j],20)
end
end
if GAME.NET then
if GAME.net then
if self.id==1 then
ins(GAME.rep,GAME.frame+260)
ins(GAME.rep,GAME.frame)
ins(GAME.rep,0)
else
if self.lastRecv and self.lastRecv.id==1 then