Merge pull request #5550 from Anewbe/helmet_hair

Helmets now show only certain hairstyles
This commit is contained in:
Atermonera
2018-09-08 11:02:20 -07:00
committed by GitHub
4 changed files with 14 additions and 13 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ var/global/list/limb_icon_cache = list()
res.add_overlay(facial_s)
//Head hair
if(owner.h_style && !(owner.head && (owner.head.flags_inv & BLOCKHEADHAIR)))
if(owner.h_style)
var/style = owner.h_style
var/datum/sprite_accessory/hair/hair_style = hair_styles_list[style]
if(owner.head && (owner.head.flags_inv & BLOCKHEADHAIR))