From d506fff20b457189099374e3c897bcfb30669fea Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Thu, 6 Aug 2020 22:31:28 -0400
Subject: [PATCH] Fix clothing unlocks

---
 src/js/itemAvailability.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/js/itemAvailability.js b/src/js/itemAvailability.js
index 7ead21f2bce..044139009a3 100644
--- a/src/js/itemAvailability.js
+++ b/src/js/itemAvailability.js
@@ -109,14 +109,14 @@ globalThis.isItemAccessible = (function() {
 			}
 		}
 		if (item.hasOwnProperty("fs")) {
-			if (!(V.arcologies[0][item.fs] > 0)) {
-				return false;
+			if (V.arcologies[0][item.fs] > 0) {
+				return true;
 			}
 		}
 		if (slaveResults) { // If we still haven't returned true or false, then we display why this particular slave can't use the item.
 			return slaveResults;
 		}
-		return true;
+		return false;
 	}
 
 	/**
-- 
GitLab