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
+4
View File
@@ -31,6 +31,10 @@
else
bulb = new /obj/item/device/assembly/flash/handheld(src)
/obj/machinery/flasher/Destroy()
remove_from_proximity_list(src, range)
..()
/obj/machinery/flasher/Move()
remove_from_proximity_list(src, range)
..()
+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)