Skip to content

Commit

Permalink
Update update_icons.dm (#5092)
Browse files Browse the repository at this point in the history
  • Loading branch information
benj8560 authored Mar 5, 2024
1 parent f10ed34 commit 6ba312b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/update_icons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,6 @@ var/global/list/wings_icon_cache = list()
/mob/living/carbon/human/proc/update_ears(var/update_icons = 1)
if(QDESTROYING(src))
return
var/obj/item/organ/external/head = organs_by_name[BP_HEAD]

overlays_standing[CUSTOM_EARS_LAYER] = null
if(head && head.flags_inv & HIDEEARS)
Expand All @@ -532,6 +531,7 @@ var/global/list/wings_icon_cache = list()

var/image/ears_image = get_ears_image()
if(ears_image)
var/obj/item/organ/external/head = organs_by_name[BP_HEAD]
ears_image.alpha = head?.nonsolid ? 180 : 255
overlays_standing[CUSTOM_EARS_LAYER] = ears_image
if(update_icons) update_icons()
Expand Down

0 comments on commit 6ba312b

Please sign in to comment.