Species selection hotfix (#17468)

This commit is contained in:
AffectedArc07
2022-03-09 02:22:42 +00:00
committed by GitHub
parent 95ce462b14
commit 982b70ea27
+5
View File
@@ -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