From 025fe0c0b406dfcdec7973b10fb5564111946fcd Mon Sep 17 00:00:00 2001
From: Svornost <11434-svornost@users.noreply.gitgud.io>
Date: Thu, 13 Feb 2020 10:15:52 -0800
Subject: [PATCH] Hook "unblind" back up to the correct organ implant
 surgeries.

---
 src/npc/surgery/organs.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/npc/surgery/organs.js b/src/npc/surgery/organs.js
index 4ba2ea64284..3e0b26555e1 100644
--- a/src/npc/surgery/organs.js
+++ b/src/npc/surgery/organs.js
@@ -202,7 +202,7 @@ App.Medicine.OrganFarm.init = function() {
 		type: "leftEye", name: "Left Eye", cost: 5000, time: 10,
 		actions: [
 			new App.Medicine.OrganFarm.OrganImplantAction({
-				name: "Implant", healthImpact: 10, surgeryType: "newEyes",
+				name: "Implant", healthImpact: 10, surgeryType: "unblind",
 				canImplant: s => (getLeftEyeVision(s) === 0 && getLeftEyeType(s) !== 2),
 				implantError: () => "Slave has a working left eye.",
 				implant: s => {
@@ -224,7 +224,7 @@ App.Medicine.OrganFarm.init = function() {
 		type: "rightEye", name: "Right Eye", cost: 5000, time: 10,
 		actions: [
 			new App.Medicine.OrganFarm.OrganImplantAction({
-				name: "Implant", healthImpact: 10, surgeryType: "newEyes",
+				name: "Implant", healthImpact: 10, surgeryType: "unblind",
 				canImplant: s => (getRightEyeVision(s) === 0 && getRightEyeType(s) !== 2),
 				implantError: () => "Slave has a working right eye.",
 				implant: s => {
-- 
GitLab