mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 19:44:58 +01:00
Fix some potential runtimes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user