This commit is contained in:
Fox-McCloud
2015-07-08 01:34:53 -04:00
parent 0fd80d0b1f
commit 6e87b96501
24 changed files with 37 additions and 31 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
song.instrumentExt = "ogg"
/obj/item/device/guitar/Destroy()
del(song)
qdel(song)
song = null
return ..()
+1 -1
View File
@@ -15,7 +15,7 @@
song.instrumentExt = "ogg"
/obj/item/device/violin/Destroy()
del(song)
qdel(song)
song = null
return ..()
+2 -2
View File
@@ -37,8 +37,8 @@ LIGHTERS ARE IN LIGHTERS.DM
create_reagents(chem_volume) // making the cigarrete a chemical holder with a maximum volume of 30
/obj/item/clothing/mask/cigarette/Destroy()
. = ..()
del(reagents)
qdel(reagents)
return ..()
/obj/item/clothing/mask/cigarette/attackby(obj/item/weapon/W as obj, mob/user as mob, params)
..()
+6 -1
View File
@@ -165,7 +165,12 @@
if(on)
var/M = get(paddles, /mob)
remove_paddles(M)
update_icon()
if(paddles)
qdel(paddles)
paddles = null
if(bcell)
qdel(bcell)
bcell = null
return ..()
/obj/item/weapon/defibrillator/proc/deductcharge(var/chrgdeductamt)
@@ -182,7 +182,7 @@
/obj/item/weapon/storage/fancy/cigarettes/Destroy()
del(reagents)
qdel(reagents)
return ..()
@@ -33,7 +33,7 @@
/obj/item/weapon/tank/Destroy()
if(air_contents)
del(air_contents)
qdel(air_contents)
processing_objects.Remove(src)
+1 -1
View File
@@ -318,7 +318,7 @@
icon_state = "piano"
/obj/structure/piano/Destroy()
del(song)
qdel(song)
song = null
return ..()