Merge pull request #20740 from optimumtact/proximityfixes

Make sure some proximity system items clean up when destroyed
This commit is contained in:
Cheridan
2016-09-29 13:27:39 -05:00
committed by GitHub
2 changed files with 7 additions and 0 deletions
+3
View File
@@ -81,6 +81,9 @@
if(scanning)
addtimer(src, "sense", 0)
/obj/item/device/assembly/prox_sensor/Destroy()
remove_from_proximity_list(src, sensitivity)
..()
/obj/item/device/assembly/prox_sensor/toggle_scan(scan)
if(!secured)