From 19f210f143f1361cf8385c04ea14515b5f3f15eb Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Wed, 13 Jun 2018 22:26:24 -0500 Subject: [PATCH] [MIRROR] Fixes flash_color (#7106) * Fixes flash_color (#38430) * Fixes flash_color * Good question, i can't find a good answer so let's simplify this. * Fixes flash_color --- code/__HELPERS/unsorted.dm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/code/__HELPERS/unsorted.dm b/code/__HELPERS/unsorted.dm index 1dd64ea4af..bb2cb98cd2 100644 --- a/code/__HELPERS/unsorted.dm +++ b/code/__HELPERS/unsorted.dm @@ -1271,10 +1271,7 @@ GLOBAL_REAL_VAR(list/stack_trace_storage) if(!istype(C)) return - var/animate_color = initial(C.color) - var/datum/client_colour/CC = C.mob.client_colours[1] - if(CC) - animate_color = CC.colour + var/animate_color = C.color C.color = flash_color animate(C, color = animate_color, time = flash_time)