Skip to content

Commit 8242029

Browse files
committed
Check appearance_flags properly for manually propagating height filters
1 parent 419774c commit 8242029

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

code/modules/mob/living/carbon/human/human_update_icons.dm

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,9 +1078,7 @@ generate/load female uniform sprites matching all previously decided variables
10781078
if(should_update)
10791079
appearance.update_filters()
10801080

1081-
// Kinda gross but because many humans overlays do not use KEEP_TOGETHER we need to manually propogate the filter
1082-
// Otherwise overlays, such as worn overlays on icons, won't have the filter "applied", and the effect kinda breaks
1083-
if(!(appearance.appearance_flags & KEEP_TOGETHER))
1081+
if((appearance.appearance_flags & KEEP_APART) && !(appearance.appearance_flags & RESET_TRANSFORM))
10841082
for(var/image/overlay in list() + appearance.underlays + appearance.overlays)
10851083
apply_height_filters(overlay, parent_adjust_y=adjust_y)
10861084

0 commit comments

Comments
 (0)