a few qdel_null's

This commit is contained in:
Sam
2017-05-26 17:49:42 +01:00
parent 7ecaabe492
commit 261dcefca7
3 changed files with 4 additions and 8 deletions
+2 -4
View File
@@ -546,12 +546,10 @@
to_chat(user, "<span class='notice'>You successfully pull the coin out before the [src] could swallow it.</span>")
else
to_chat(user, "<span class='notice'>You weren't able to pull the coin out fast enough, the machine ate it, string and all.</span>")
coin = null
qdel(coin)
QDEL_NULL(coin)
categories &= ~CAT_COIN
else
coin = null
qdel(coin)
QDEL_NULL(coin)
categories &= ~CAT_COIN
R.amount--
+1 -2
View File
@@ -279,8 +279,7 @@ RCD
return 0
activate()
var/turf/T1 = get_turf(A)
qdel(A)
A = null
QDEL_NULL(A)
for(var/obj/structure/window/W in T1.contents)
W.disassembled = 1
W.density = 0
@@ -14,8 +14,7 @@
src.smoke.attach(src)
Destroy()
qdel(smoke)
smoke = null
QDEL_NULL(smoke)
return ..()
prime()