From 72cce31662dde536f688c4bf21bd90be341a8206 Mon Sep 17 00:00:00 2001 From: Casey Date: Wed, 27 Oct 2021 12:21:42 -0400 Subject: [PATCH 1/2] Merge pull request #11704 from Heroman3003/brg-wl-fx A followup fix to borg whitelisting PR --- code/game/jobs/whitelist.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/jobs/whitelist.dm b/code/game/jobs/whitelist.dm index 6ae91b66dd..23adcc1daf 100644 --- a/code/game/jobs/whitelist.dm +++ b/code/game/jobs/whitelist.dm @@ -100,6 +100,10 @@ var/list/whitelist = list() if(!M || !module) return 0 + //Module is not even whitelisted + if(!(module in whitelisted_module_types)) + return 1 + //If we have a loaded file, search it if(alien_whitelist) for (var/s in alien_whitelist)