玩家死亡后插入空操作保证别人看到的自己能保持更新一段时间

This commit is contained in:
MrZ626
2021-04-08 01:29:45 +08:00
parent 3901b079d7
commit 9eafdbf741

View File

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