mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Emergency fix for HasProximity being passed a turf.
This commit is contained in:
@@ -40,6 +40,9 @@
|
|||||||
|
|
||||||
|
|
||||||
HasProximity(atom/movable/AM as mob|obj)
|
HasProximity(atom/movable/AM as mob|obj)
|
||||||
|
if(!istype(AM))
|
||||||
|
log_debug("DEBUG: HasProximity called with [AM] on [src] ([usr]).")
|
||||||
|
return
|
||||||
if (istype(AM, /obj/effect/beam)) return
|
if (istype(AM, /obj/effect/beam)) return
|
||||||
if (AM.move_speed < 12) sense()
|
if (AM.move_speed < 12) sense()
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user