Merge pull request #5391 from VOREStation/pol-infra

Tweak i_beam qdel logic
This commit is contained in:
Anewbe
2018-07-06 18:34:25 -05:00
committed by GitHub
+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)