- Try avoid flashing

This commit is contained in:
ParticleG
2022-12-19 19:35:38 +08:00
parent e656ab5e1d
commit 59b412899d

View File

@@ -2654,7 +2654,7 @@ local function update_dead(P,dt)
_updateMisc(P,dt)
end
function Player:_die()
do local p=TABLE.find(PLY_ALIVE,self) if p then rem(PLY_ALIVE,p) end end
do local p=TABLE.find(PLY_ALIVE,self) if p then PLY_ALIVE[p]=rem(PLY_ALIVE) end end
self.alive=false
self.timing=false
self.control=false