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
+5
View File
@@ -121,6 +121,11 @@
var/attacher = "UNKNOWN"
var/datum/wires/explosive/gibtonite/wires
/obj/item/weapon/twohanded/required/gibtonite/Destroy()
qdel(wires)
wires = null
return ..()
/obj/item/weapon/twohanded/required/gibtonite/attackby(obj/item/I, mob/user, params)
if(!wires && istype(I, /obj/item/device/assembly/igniter))
user.visible_message("[user] attaches [I] to [src].", "<span class='notice'>You attach [I] to [src].</span>")