Skip to content

Commit

Permalink
Merge pull request #3282 from KathrinBailey/clothes-en-ing
Browse files Browse the repository at this point in the history
[Testmerge ONLY!!] Fixes chest-mounted equipment from displaying on top of clothes when they shouldn't.
  • Loading branch information
Tk420634 authored Oct 5, 2023
2 parents 9f828ab + eb054cd commit a6fb2e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/__HELPERS/_cit_helpers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ GLOBAL_VAR_INIT(miscreants_allowed, FALSE)
L = get_equipped_items()
for(var/A in L)
var/obj/item/I = A
if(I.body_parts_hidden & GROIN)
if(I.body_parts_covered & GROIN)
return FALSE
return TRUE

Expand All @@ -139,7 +139,7 @@ GLOBAL_VAR_INIT(miscreants_allowed, FALSE)
L = get_equipped_items()
for(var/A in L)
var/obj/item/I = A
if(I.body_parts_hidden & CHEST)
if(I.body_parts_covered & CHEST)
return FALSE
return TRUE

Expand Down

0 comments on commit a6fb2e2

Please sign in to comment.