Fix some potential runtimes

This commit is contained in:
Jack Edge
2016-06-25 18:23:01 +01:00
parent 86cc2dd09a
commit ef15462ec7
+3 -2
View File
@@ -299,8 +299,9 @@
/obj/effect/overlay/temp/sparkle/New(atom/movable/AM)
..()
attached_to = AM
attached_to.overlays += src
if(istype(AM))
attached_to = AM
attached_to.overlays += src
/obj/effect/overlay/temp/sparkle/Destroy()
if(attached_to)