From 49e43e29538342a03e9229b169b871be2ee4d116 Mon Sep 17 00:00:00 2001 From: Svornost <11434-svornost@users.noreply.gitgud.io> Date: Wed, 3 Jun 2020 18:41:57 -0700 Subject: [PATCH] Fix slave eye BC so you don't end up with eye color "circular". --- src/data/backwardsCompatibility/updateSlaveObject.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/backwardsCompatibility/updateSlaveObject.js b/src/data/backwardsCompatibility/updateSlaveObject.js index bc8af03b910..d0a90d066af 100644 --- a/src/data/backwardsCompatibility/updateSlaveObject.js +++ b/src/data/backwardsCompatibility/updateSlaveObject.js @@ -222,9 +222,9 @@ App.Update.Slave = function(slave, genepool = false) { } else if (slave.eyes === -1) { eyeSurgery(slave, "both", "blur"); } - const eyeColor = slave.pupil || "brown"; + const eyeColor = slave.eyeColor || "brown"; const pupil = slave.pupil || "circular"; - const sclerae = slave.pupil || "white"; + const sclerae = slave.sclerae || "white"; setEyeColorFull(slave, eyeColor, pupil, sclerae, "both"); if (typeof slave.geneticQuirks.heterochromia === "string") { setEyeColor(slave.geneticQuirks.heterochromia, "left"); -- GitLab