From b2784363a138e8e4124428e369d8aa22851cffe7 Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Sat, 17 Oct 2026 14:49:29 +0200 Subject: [PATCH] Mobs see only the guests in their own level Co-Authored-By: Claude Opus 5.5 --- crates/horizon-client/src/game/lan_mobs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/horizon-client/src/game/lan_mobs.rs b/crates/horizon-client/src/game/lan_mobs.rs index e613a9a2f..53b79407c 100644 --- a/crates/horizon-client/src/game/lan_mobs.rs +++ b/crates/horizon-client/src/game/lan_mobs.rs @@ -92,7 +92,7 @@ impl Game<'_> { .hub .guests .iter() - .filter(|g| g.placed && g.loaded && !g.dead) + .filter(|g| host.hub.here(g) && g.loaded && !g.dead) .map(|g| { let moved = [0, 1, 2].map(|k| g.position[k] - g.previous_position[k]); (g.conn, g.uuid, moved)