Added qdel(wires) to a bunch of objects Destroy proc.

Return ..()
This commit is contained in:
xxalpha
2015-08-27 11:10:58 +01:00
parent d7eca4f327
commit 19947d4fa0
17 changed files with 72 additions and 7 deletions
@@ -99,6 +99,10 @@
..()
wires = new(src)
/obj/item/device/pizza_bomb/Destroy()
qdel(wires)
wires = null
return ..()
/obj/item/device/pizza_bomb/proc/disarm()
audible_message("\icon[src] \The [src] suddenly stops beeping and seems lifeless.")
@@ -93,7 +93,9 @@
qdel(wires)
wires = null
remove_radio_all(src) //Just to be sure
..()
patch_link = null
keyslot = null
return ..()
/obj/item/device/radio/MouseDrop(obj/over_object, src_location, over_location)
var/mob/M = usr
@@ -21,6 +21,12 @@
image_overlay = image('icons/obj/assemblies.dmi', "plastic-explosive2")
..()
/obj/item/weapon/c4/Destroy()
qdel(wires)
wires = null
target = null
return ..()
/obj/item/weapon/c4/suicide_act(mob/user)
user.visible_message("<span class='suicide'>[user] activates the [src.name] and holds it above \his head! It looks like \he's going out with a bang!</span>")
var/message_say = "FOR NO RAISIN!"