Merge pull request #5789 from Cameron653/Fixes_boots_again

Fixes the washing bug with boots
This commit is contained in:
Novacat
2019-09-03 02:19:14 -04:00
committed by GitHub
3 changed files with 13 additions and 5 deletions
+8
View File
@@ -558,8 +558,16 @@
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(gurgled) //VOREStation Edit Start
decontaminate()
gurgle_contaminate() //VOREStation Edit End
if(ismob(usr))
var/mob/M = usr
M.update_inv_shoes()