From 59b412899dc1e5cb60276b3459055245d8733ad7 Mon Sep 17 00:00:00 2001 From: ParticleG Date: Mon, 19 Dec 2022 19:35:38 +0800 Subject: [PATCH] - Try avoid flashing --- parts/player/player.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parts/player/player.lua b/parts/player/player.lua index 33655320..4feedc05 100644 --- a/parts/player/player.lua +++ b/parts/player/player.lua @@ -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