I have no liability about glowing robotic eyes not automatically updating right here.

This commit is contained in:
Ghommie
2019-12-06 03:56:48 +01:00
parent d6fe78f4a7
commit 2528714035
+4 -1
View File
@@ -226,7 +226,10 @@
if(!user.canUseTopic(src, BE_CLOSE, FALSE, NO_TK))
return
if(new_eye_color)
H.eye_color = sanitize_hexcolor(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
H.eye_color = n_color
H.dna.update_ui_block(DNA_EYE_COLOR_BLOCK)
H.update_body()
if(choice)