more del to qdel

This commit is contained in:
Fox-McCloud
2015-10-09 17:14:49 -04:00
parent 27c420d87b
commit a96375a54e
4 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -35,7 +35,7 @@
if(parent && isnull(parent.gcDestroyed))
qdel(parent)
parent = null
/obj/machinery/atmospherics/pipe/attackby(obj/item/weapon/W, mob/user, params)
if(istype(W, /obj/item/device/analyzer))
atmosanalyzer_scan(parent.air, user)
@@ -51,7 +51,7 @@
/obj/machinery/atmospherics/pipe/proc/check_pressure(pressure)
//Return 1 if parent should continue checking other pipes
//Return null if parent should stop checking other pipes. Recall: del(src) will by default return null
//Return null if parent should stop checking other pipes. Recall: qdel(src) will by default return null
return 1
-1
View File
@@ -34,7 +34,6 @@
if(reagents)
qdel(reagents)
reagents = null
set_opacity(0)
invisibility = 101
return ..()
+1 -1
View File
@@ -317,7 +317,7 @@
occupant.unEquip(W)
W.loc = src
if(W.contents.len) //Make sure we catch anything not handled by del() on the items.
if(W.contents.len) //Make sure we catch anything not handled by qdel() on the items.
var/preserve = null
for(var/T in preserve_items)
if(istype(W,T))
@@ -90,7 +90,7 @@
moving = 0
// Should I return a copy here? If the caller edits or del()s the returned
// Should I return a copy here? If the caller edits or qdel()s the returned
// datum, there might be problems if I don't...
/obj/structure/transit_tube_pod/return_air()
var/datum/gas_mixture/GM = new()