Fixes that sparkle animation always playing (#25051)
When viewing ripples for the first time
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user