From e5856c842a0e49ca1751704087308d0938bef290 Mon Sep 17 00:00:00 2001 From: Fox McCloud Date: Thu, 24 May 2018 18:00:52 -0400 Subject: [PATCH] tweak --- code/modules/surgery/plastic_surgery.dm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/modules/surgery/plastic_surgery.dm b/code/modules/surgery/plastic_surgery.dm index 002f876a669..f9008611761 100644 --- a/code/modules/surgery/plastic_surgery.dm +++ b/code/modules/surgery/plastic_surgery.dm @@ -46,9 +46,7 @@ target.real_name = chosen_name var/newname = target.real_name //something about how the code handles names required that I use this instead of target.real_name user.visible_message("[user] alters [oldname]'s appearance completely, they are now [newname]!", "You alter [oldname]'s appearance completely, they are now [newname].") - if(ishuman(target)) - var/mob/living/carbon/human/H = target - H.sec_hud_set_ID() + target.sec_hud_set_ID() return TRUE