[MIRROR] Fixes most eye color effects not working [MDB IGNORE] (#13939)

* Fixes most eye color effects not working (#67127)

* Fixes most eye color effects not working, adds eye refreshing to species' handle_body.

* Fixes most eye color effects not working

Co-authored-by: SmArtKar <44720187+SmArtKar@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-05-27 15:19:58 +01:00
committed by GitHub
co-authored by SmArtKar
parent e516e296a1
commit d6595db199
5 changed files with 19 additions and 15 deletions
@@ -37,17 +37,18 @@
var/obj/item/organ/eyes/eyes_organ = target.getorgan(/obj/item/organ/eyes)
if (!eyes_organ || !istype(eyes_organ))
return
if (!initial(eyes_organ.eye_color_left))
eyes_organ.eye_color_left = value
eyes_organ.old_eye_color_left = value
if(hetero) // Don't override the snowflakes please
return
if (!initial(eyes_organ.eye_color_right))
eyes_organ.eye_color_right = value
eyes_organ.old_eye_color_right = value
eyes_organ.refresh()
/datum/preference/color/eye_color/create_default_value()
return random_eye_color()