Tweak i_beam qdel logic

Seems sketchy!
This commit is contained in:
Arokha Sieyes
2018-07-05 15:04:51 -04:00
parent 94013e81bc
commit 4f8e4fbbd8
+3 -4
View File
@@ -250,9 +250,8 @@
return
/obj/effect/beam/i_beam/Destroy()
. = ..()
if(master.first == src)
master.first = null
if(next)
qdel(next)
next = null
..()
if(next && !next.gc_destroyed)
qdel_null(next)