[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>
This commit is contained in:
SkyratBot
2021-11-12 02:42:39 +00:00
committed by GitHub
parent 259b859076
commit a8dc106f6c
+6
View File
@@ -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)