From 982b70ea2789a58a78c8a42dd898455840ddb992 Mon Sep 17 00:00:00 2001 From: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Date: Wed, 9 Mar 2022 02:22:42 +0000 Subject: [PATCH] Species selection hotfix (#17468) --- code/game/jobs/whitelist.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/game/jobs/whitelist.dm b/code/game/jobs/whitelist.dm index 762d2c2f537..9dfda267382 100644 --- a/code/game/jobs/whitelist.dm +++ b/code/game/jobs/whitelist.dm @@ -22,6 +22,11 @@ if(check_rights(R_ADMIN, FALSE)) return TRUE + // Cant be using this if youre not an admin + var/datum/species/S = GLOB.all_species[species] + if(S.blacklisted) + return FALSE + var/package_id = species2package(species) if(!package_id) return TRUE // Not a valid karma package