[Bug] Error when blind slaves get race surgery

Expected Behavior

When I edit the race of a slave with both eyes removed it does not throw a error.

Current Behavior

It throws this error: Uncaught TypeError: Cannot set properties of null (setting 'iris') at globalThis.setEyeColor (eval at call.output.output (FC_pregmod.html:3:143848), :527958:23) at globalThis.setEyeColor (eval at call.output.output (FC_pregmod.html:3:143848), :527949:3) at App.Medicine.Surgery.Procedures.Race.apply (FC_pregmod.html:20965:3) at App.Medicine.Surgery.apply (eval at call.output.output (FC_pregmod.html:3:143848), :527430:37) at apply (eval at call.output.output (FC_pregmod.html:3:143848), :527358:39) at link.onclick (eval at call.output.output (FC_pregmod.html:3:143848), :379712:3)

Steps to Reproduce

  1. Remove a slave's eyes
  2. Do any race surgery on that slave

Additional information

  • Release ID: 1218
  • Commit: a9d9b526
  • Save file