Fix santize_hexcolor (#48716)

This whole helper is a mess. Maybe I should just replace it completely 
instead.
This commit is contained in:
AnturK
2020-01-12 19:13:00 -08:00
committed by Tad Hardesty
parent fd37538eea
commit 8e94ad36a1
2 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -1299,7 +1299,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
if(new_socks)
socks = new_socks
if(BODY_ZONE_PRECISE_EYES)
if("eyes")
var/new_eyes = input(user, "Choose your character's eye colour:", "Character Preference","#"+eye_color) as color|null
if(new_eyes)
eye_color = sanitize_hexcolor(new_eyes)