From 54558824333969ff09abe773c4248cfd22789988 Mon Sep 17 00:00:00 2001 From: Isaac Erwin Date: Thu, 14 Jul 2016 09:03:16 -0400 Subject: [PATCH] Fixes chameleon jumpsuits not updating properly when EMPd Fixes chameleon jumpsuits not updating the user's appearance when EMPed and not properly reverting back to the default form when the EMP effect wears off. --- code/modules/clothing/under/chameleon.dm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/code/modules/clothing/under/chameleon.dm b/code/modules/clothing/under/chameleon.dm index cf74d17de05..de0a43ef2f7 100644 --- a/code/modules/clothing/under/chameleon.dm +++ b/code/modules/clothing/under/chameleon.dm @@ -39,11 +39,13 @@ desc = "Groovy!" icon_state = "psyche" item_color = "psyche" + usr.regenerate_icons() spawn(200) - name = "Black Jumpsuit" - icon_state = "bl_suit" - item_color = "black" - desc = null + name = initial(name) + icon_state = initial(icon_state) + item_color = initial(item_color) + desc = initial(desc) + usr.regenerate_icons() ..()