mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 02:57:48 +01:00
more del to qdel
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
if(reagents)
|
||||
qdel(reagents)
|
||||
reagents = null
|
||||
set_opacity(0)
|
||||
invisibility = 101
|
||||
return ..()
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user