mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 04:26:03 +01:00
[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user