From f16dfe749d7dadfc5a08c94f5ce774974a40f6d5 Mon Sep 17 00:00:00 2001
From: Svornost <11434-svornost@users.noreply.gitgud.io>
Date: Tue, 3 Mar 2020 21:32:48 -0800
Subject: [PATCH] Check whom now?

---
 src/js/assayJS.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/js/assayJS.js b/src/js/assayJS.js
index ed6a5cff1c9..2333008aae8 100644
--- a/src/js/assayJS.js
+++ b/src/js/assayJS.js
@@ -1821,5 +1821,5 @@ window.retirementReady = function RetirementReady(slave) {
  * @returns {boolean}
  */
 window.isShelterSlave = function isShelterSlave(slave) {
-	return (typeof origin === "string" && origin.includes("Slave Shelter"));
+	return (typeof slave.origin === "string" && slave.origin.includes("Slave Shelter"));
 };
-- 
GitLab