Prevents proximity sensors from beeping when off. (#32783)

This commit is contained in:
Dax Dupont
2017-11-16 18:09:20 -05:00
committed by Emmett Gaines
parent 79e91124bf
commit eb35fc0579
+1 -1
View File
@@ -53,7 +53,7 @@
/obj/item/device/assembly/prox_sensor/sense()
if(!secured || next_activate > world.time)
if(!scanning || !secured || next_activate > world.time)
return 0
pulse(0)
audible_message("[icon2html(src, hearers(src))] *beep* *beep*", null, 3)