Make sure some proximity using items clean up when destroyed

This commit is contained in:
oranges
2016-09-28 22:19:59 +00:00
parent 147c294ac5
commit 6ff0b13638
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)