Fixes that sparkle animation always playing (#25051)

When viewing ripples for the first time
This commit is contained in:
Cyberboss
2017-03-14 14:36:20 -04:00
committed by AnturK
parent fdab11f6c2
commit a91c7ee507
2 changed files with 4 additions and 0 deletions

View File

@@ -16,3 +16,7 @@
/obj/effect/overlay/temp/ripple/Initialize(mapload, time_left)
. = ..()
animate(src, alpha=255, time=time_left)
addtimer(CALLBACK(src, .proc/stop_animation), 8, TIMER_CLIENT_TIME)
/obj/effect/overlay/temp/ripple/proc/stop_animation()
icon_state = "medi_holo_no_anim"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 521 KiB

After

Width:  |  Height:  |  Size: 521 KiB