From c97e37a206155646906123416e9059e424c6c36c Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Thu, 18 Feb 2021 23:33:47 -0500 Subject: [PATCH] albanism eye implant fix --- src/js/statsChecker/eyeChecker.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/js/statsChecker/eyeChecker.js b/src/js/statsChecker/eyeChecker.js index 7014da62b77..75209f2fd09 100644 --- a/src/js/statsChecker/eyeChecker.js +++ b/src/js/statsChecker/eyeChecker.js @@ -266,8 +266,7 @@ globalThis.getGeneticEyeColor = function(playerOrSlave, side) { if (side !== "left" && side !== "right") { return "ERROR:" + side; } if (playerOrSlave.geneticQuirks.albinism === 2) { - const slave = (/** @type {App.Entity.SlaveState} */(playerOrSlave)); - return slave.albinismOverride && slave.albinismOverride.eyeColor; + return "pink"; } else { if (side === "left" && typeof playerOrSlave.geneticQuirks.heterochromia === "string") { return playerOrSlave.geneticQuirks.heterochromia; -- GitLab