diff --git a/code/__HELPERS/global_lists.dm b/code/__HELPERS/global_lists.dm index cab2c536..dddf2ed6 100644 --- a/code/__HELPERS/global_lists.dm +++ b/code/__HELPERS/global_lists.dm @@ -96,12 +96,12 @@ GLOBAL_LIST_INIT(hair_gradients, list( "Fade Low (Up)" = "fadeup_low", "Bottom Flat" = "bottomflat", "Fade Low (Down)" = "fadedown_low", - "Vertical Split" = "vsplit", "Reflected" = "reflected", "Reflected (Inverted)" = "reflected_inverse", "Reflected High" = "reflected_high", "Reflected High (Inverted)" = "reflected_inverse_high", - "Wavy" = "wavy" + "Wavy" = "wavy", + "Color Test" = "vsplit" )) //creates every subtype of prototype (excluding prototype) and adds it to list L. diff --git a/code/modules/mob/living/carbon/human/species.dm b/code/modules/mob/living/carbon/human/species.dm index 766300e5..77f3f806 100644 --- a/code/modules/mob/living/carbon/human/species.dm +++ b/code/modules/mob/living/carbon/human/species.dm @@ -468,7 +468,7 @@ GLOBAL_LIST_EMPTY(roundstart_races) if(OFFSET_FACE in H.dna.species.offset_features) hair_overlay.pixel_x += H.dna.species.offset_features[OFFSET_FACE][1] hair_overlay.pixel_y += H.dna.species.offset_features[OFFSET_FACE][2] - if(H.grad_style) + if(H.grad_style ~! "none") var/icon/grad_s = new/icon("icon" = 'icons/mob/hair_gradients.dmi', "icon_state" = GLOB.hair_gradients[H.grad_style]) var/grad_f_color = null if(grad_color) @@ -477,6 +477,7 @@ GLOBAL_LIST_EMPTY(roundstart_races) grad_f_color = "#" + H.grad_color grad_s.Blend(grad_f_color, ICON_ADD) hair_overlay.filters = filter(type="layer", icon = grad_s, blend_mode = BLEND_MULTIPLY) + qdel(grad_s) if(hair_overlay.icon) standing += hair_overlay