Fixes the washing bug with boots

This commit is contained in:
Cameron Lennox
2019-09-03 01:34:54 -04:00
parent 9f6e4df7eb
commit e3073bbb5d
3 changed files with 14 additions and 5 deletions

View File

@@ -558,8 +558,17 @@
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
//VOREStation Edit Start
if(gurgled)
decontaminate()
gurgle_contaminate()
if(ismob(usr))
var/mob/M = usr
M.update_inv_shoes()