From 028307478575c70487fc53219c4b2db0918e18a5 Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Sun, 27 May 2018 21:40:45 -0400 Subject: [PATCH] Fixes #5083 This whole HasProximity() thing should be redone at some point. We discovered earlier that every atom moving into every turf notifies every atom/movable in the surrounding 8 turfs that it's now moved into the turf. Which is silly. There's like 4 things that use the system, including prox sensors. --- code/modules/assembly/proximity.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/assembly/proximity.dm b/code/modules/assembly/proximity.dm index a956103e2d..c08b908dc4 100644 --- a/code/modules/assembly/proximity.dm +++ b/code/modules/assembly/proximity.dm @@ -39,7 +39,7 @@ log_debug("DEBUG: HasProximity called with [AM] on [src] ([usr]).") return if (istype(AM, /obj/effect/beam)) return - if (AM.move_speed < 12) sense() + if (!isobserver(AM) && AM.move_speed < 12) sense() return