From c66865d431532330194f6b845160e01a7ba003ab Mon Sep 17 00:00:00 2001 From: Tyler Murphy Date: Thu, 29 Jun 2023 20:29:54 -0400 Subject: when players die, they should acutally fucking die --- client/src/logic/items.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/logic/items.ts') diff --git a/client/src/logic/items.ts b/client/src/logic/items.ts index 79624d3..1803508 100644 --- a/client/src/logic/items.ts +++ b/client/src/logic/items.ts @@ -44,7 +44,7 @@ export const updateItems = (data: GameState) => { const player = data.players[id] - if(!player) { + if(!player || player.dead) { continue; } -- cgit v1.2.3-freya