From 6a65ee1124f05011034be6499d137e49fb319616 Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Tue, 27 Oct 2026 06:56:46 +0100 Subject: [PATCH] A guest saved by a totem is not a player kill The guest's health goes through the same totem path as the host's (applied on the next tick_totem), so the kill check skips a fired totem for both. Co-Authored-By: Claude Opus 5.5 --- crates/horizon-client/src/game/lan_pvp.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/horizon-client/src/game/lan_pvp.rs b/crates/horizon-client/src/game/lan_pvp.rs index a51f3a6c0..3a2fa21c1 100644 --- a/crates/horizon-client/src/game/lan_pvp.rs +++ b/crates/horizon-client/src/game/lan_pvp.rs @@ -264,7 +264,7 @@ impl Game<'_> { if hurt { let died = match victim { // A totem that fired is applied on the next tick_totem, so the - // host is still at zero health but is not dying. + // victim is still at zero health but is not dying. Victim::Host => self .player .as_ref() @@ -273,7 +273,7 @@ impl Game<'_> { .hub .guest(conn) .and_then(|g| g.motion.as_deref()) - .is_some_and(|p| p.health.dead_or_dying()), + .is_some_and(|p| p.health.dead_or_dying() && !p.health.totem_used), }; if died { match s.attacker {