null = n_color, no.

This commit is contained in:
Ghommie
2019-12-06 03:59:51 +01:00
parent 2528714035
commit d3d1116094
+3 -2
View File
@@ -228,10 +228,11 @@
if(new_eye_color)
var/n_color = sanitize_hexcolor(new_eye_color)
var/obj/item/organ/eyes/eyes = H.getorganslot(ORGAN_SLOT_EYES)
eyes?.eye_color = n_color
if(eyes)
eyes.eye_color = n_color
H.eye_color = n_color
H.dna.update_ui_block(DNA_EYE_COLOR_BLOCK)
H.update_body()
H.dna.species.handle_body()
if(choice)
curse(user)