Fixed an issue where boot/shoe overlays would magically be cleaned by putting in a knife and stepping on blood.

This commit is contained in:
Cameron Lennox
2019-08-31 14:30:58 -04:00
parent 9b5573eee6
commit aae2e66755
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -502,6 +502,7 @@
if(usr.put_in_hands(holding))
usr.visible_message("<span class='danger'>\The [usr] pulls a knife out of their boot!</span>")
holding = null
overlays -= image(icon, "[icon_state]_knife")
else
usr << "<span class='warning'>Your need an empty, unbroken hand to do that.</span>"
holding.forceMove(src)
@@ -546,7 +547,6 @@
update_icon()
/obj/item/clothing/shoes/update_icon()
overlays.Cut()
if(holding)
overlays += image(icon, "[icon_state]_knife")
if(ismob(usr))