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.
This commit is contained in:
Arokha Sieyes
2018-05-27 21:40:45 -04:00
parent be5c144a16
commit 0283074785

View File

@@ -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