From a8dc106f6ccf0a805ef77fa9f9c8afbfcd7f055b Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Fri, 12 Nov 2021 02:42:39 +0000 Subject: [PATCH] [MIRROR] spraycanning stuff now updates its sprites on the mob [MDB IGNORE] (#9398) * spraycanning stuff now updates its sprites on the mob (#62726) * spraycanning stuff now updates its sprites on the mob Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com> --- code/game/objects/items/crayons.dm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/game/objects/items/crayons.dm b/code/game/objects/items/crayons.dm index 6451577c0c8..64a756386b4 100644 --- a/code/game/objects/items/crayons.dm +++ b/code/game/objects/items/crayons.dm @@ -767,6 +767,12 @@ return FALSE target.add_atom_colour(paint_color, WASHABLE_COLOUR_PRIORITY) + if(isliving(target.loc)) + var/mob/living/holder = target.loc + if(holder.is_holding(target)) + holder.update_inv_hands() + else + holder.regenerate_icons() SEND_SIGNAL(target, COMSIG_OBJ_PAINTED, color_is_dark) . = use_charges(user, 2, requires_full = FALSE) reagents.trans_to(target, ., volume_multiplier, transfered_by = user, methods = VAPOR)