Fix runtimes some more.

This commit is contained in:
Ghommie
2020-03-10 22:40:06 +01:00
parent 0d66a40e55
commit 27a7f754c4
27 changed files with 49 additions and 63 deletions
+2 -2
View File
@@ -122,9 +122,9 @@
update_inv_wear_mask()
/mob/living/carbon/wear_mask_update(obj/item/clothing/C, toggle_off = 1)
if(C.tint || initial(C.tint))
if(isclothing(C) && (C.tint || initial(C.tint)))
update_tint()
update_inv_wear_mask()
return ..()
//handle stuff to update when a mob equips/unequips a headgear.
/mob/living/carbon/proc/head_update(obj/item/I, forced)