Fixes the washing bug with boots.

This commit is contained in:
Cameron Lennox
2019-09-03 01:34:43 -04:00
parent aae2e66755
commit 960afd4121
3 changed files with 11 additions and 5 deletions
+5
View File
@@ -547,8 +547,13 @@
update_icon()
/obj/item/clothing/shoes/update_icon()
overlays.Cut() //This removes all the overlays on the sprite and then goes down a checklist adding them as required.
if(blood_DNA)
add_blood()
if(holding)
overlays += image(icon, "[icon_state]_knife")
if(contaminated)
overlays += contamination_overlay
if(ismob(usr))
var/mob/M = usr
M.update_inv_shoes()