diff --git a/code/modules/clothing/head/head.dm b/code/modules/clothing/head/head.dm index f16b6ff42c9d..4871a008dd6d 100644 --- a/code/modules/clothing/head/head.dm +++ b/code/modules/clothing/head/head.dm @@ -308,8 +308,8 @@ /obj/item/clothing/head/cmcap/get_mob_overlay(mob/user_mob, slot) var/image/return_image = ..() - if(!slot == WEAR_HEAD) - return + if(slot != WEAR_HEAD) + return return_image if(length(pockets.contents) && (flags_marine_hat & HAT_GARB_OVERLAY)) for(var/obj/garb_object in pockets.contents)