Skip to content

Commit

Permalink
Fixes a typo causing caps to display contained items incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
fira committed Oct 15, 2023
1 parent 5f9c4d9 commit 5a48462
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/clothing/head/head.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5a48462

Please sign in to comment.