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

This commit is contained in:
Dax Dupont
2017-11-17 00:09:20 +01:00
committed by CitadelStationBot
parent 0e0eb351b3
commit ac23bd3261
+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)