Merge pull request #8693 from Ghommie/Ghommie-cit70

Ports "clothes burning only spam You of Your clothes"
This commit is contained in:
kevinz000
2019-07-14 14:52:29 -07:00
committed by GitHub
+1 -1
View File
@@ -137,7 +137,7 @@
update_clothes_damaged_state(TRUE)
if(ismob(loc)) //It's not important enough to warrant a message if nobody's wearing it
var/mob/M = loc
M.visible_message("<span class='warning'>[M]'s [name] starts to fall apart!", "<span class='warning'>Your [name] starts to fall apart!</span>")
to_chat(M, "<span class='warning'>Your [name] starts to fall apart!</span>")
/obj/item/clothing/proc/update_clothes_damaged_state(damaging = TRUE)
var/index = "[REF(initial(icon))]-[initial(icon_state)]"