better QDEL_NULL

This commit is contained in:
Fox-McCloud
2017-04-04 00:35:42 -04:00
parent 21b1c091ad
commit 9a20311152
6 changed files with 7 additions and 13 deletions
+1 -2
View File
@@ -21,8 +21,7 @@
poi_list |= src
/obj/effect/anomaly/Destroy()
if(aSignal)
QDEL_NULL(aSignal)
QDEL_NULL(aSignal)
poi_list.Remove(src)
return ..()
@@ -27,8 +27,7 @@
SetValue(value)
/obj/item/weapon/dnainjector/Destroy()
if(buf)
QDEL_NULL(buf)
QDEL_NULL(buf)
return ..()
/obj/item/weapon/dnainjector/proc/GetRealBlock(var/selblock)