From cb2513a1544dc854a65a6c702e2e4288e417ece2 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Thu, 25 Feb 2021 18:33:00 -0500
Subject: [PATCH] fix filterRaces use in cor

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

diff --git a/src/Corporation/corporate.js b/src/Corporation/corporate.js
index 05ec474c6e1..c4c0a55e7a4 100644
--- a/src/Corporation/corporate.js
+++ b/src/Corporation/corporate.js
@@ -921,7 +921,7 @@ globalThis.corpBlacklistRace = function(race, blacklist) {
 	if (raceArray.length > 0 && blacklist === 1) {
 		raceArray.delete(race);
 	} else if (blacklist === 1) {
-		raceArray = Array.from(App.Data.filterRaces.keys()).filter(x => x !== race);
+		raceArray = Array.from(App.Data.misc.filterRaces.keys()).filter(x => x !== race);
 	} else {
 		raceArray.push(race);
 	}
-- 
GitLab