Monkeys and Golems No Longer Spawn With Hair (#22440)

Fixes https://github.com/Aurorastation/Aurora.3/issues/22424.
changes:
  - bugfix: "Hairstyles no longer rendered on monkeys or golems."
This commit is contained in:
Batrachophreno
2026-05-11 18:12:56 +00:00
committed by GitHub
parent a9796a01e6
commit 7a059fcec2
2 changed files with 5 additions and 1 deletions
@@ -472,7 +472,7 @@ There are several things that need to be remembered:
if(update_icons) update_icon()
return
var/has_visible_hair = h_style && !(head && (head.flags_inv & BLOCKHEADHAIR)) && !(l_ear && (l_ear.flags_inv & BLOCKHEADHAIR)) && !(r_ear && (r_ear.flags_inv & BLOCKHEADHAIR)) && !(wear_suit && (wear_suit.flags_inv & BLOCKHEADHAIR))
var/has_visible_hair = h_style && !(head && (head.flags_inv & BLOCKHEADHAIR)) && !(l_ear && (l_ear.flags_inv & BLOCKHEADHAIR)) && !(r_ear && (r_ear.flags_inv & BLOCKHEADHAIR)) && !(wear_suit && (wear_suit.flags_inv & BLOCKHEADHAIR)) && !isMonkey() && !isgolem()
var/icon/hair_icon = generate_hair_icon(has_visible_hair)