From f16a6a83db7db0af4cdaa4d5da6f1c3c156f320c Mon Sep 17 00:00:00 2001 From: d3athrow Date: Tue, 14 Jan 2014 03:12:35 -0600 Subject: [PATCH] clean up the code Conflicts: code/modules/mob/mob.dm --- code/modules/mob/mob.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index a63b5d1a79b..0b53fb13ab4 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -103,9 +103,9 @@ if(istype(W)) equip_to_slot_if_possible(W, slot) - if(ishuman(src)) - if(W == src:head) - src:update_hair() + if(ishuman(src) && W == src:head) + src:update_hair() + /mob/proc/put_in_any_hand_if_possible(obj/item/W as obj, del_on_fail = 0, disable_warning = 1, redraw_mob = 1) if(equip_to_slot_if_possible(W, slot_l_hand, del_on_fail, disable_warning, redraw_mob)) return 1