From 6ffe948c789ef1a722641e2920c8ade034fd7f95 Mon Sep 17 00:00:00 2001 From: LordME <58342752+TheLordME@users.noreply.github.com> Date: Tue, 20 May 2025 11:49:41 +0200 Subject: [PATCH] species name check instead of UID check (#7155) ## About The Pull Request ## Why It's Good For The Game ## Changelog :cl: fix: xenohybrid whitelist /:cl: --- .../preferences/preference_setup/helpers/species_pick.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/preferences/preference_setup/helpers/species_pick.dm b/code/modules/preferences/preference_setup/helpers/species_pick.dm index 16ea03005ec..06ac43694f2 100644 --- a/code/modules/preferences/preference_setup/helpers/species_pick.dm +++ b/code/modules/preferences/preference_setup/helpers/species_pick.dm @@ -13,7 +13,7 @@ var/list/ids = config.all_alien_whitelists_for(client_ckey) . = list() for(var/datum/species/CS as anything in SScharacters.all_character_species()) - if((ckey(CS.uid) in ids) || (CS.species_spawn_flags & SPECIES_SPAWN_WHITELIST_FLEXIBLE && (ckey(CS.superspecies_id) in ids))) + if((ckey(CS.name) in ids) || (CS.species_spawn_flags & SPECIES_SPAWN_WHITELIST_FLEXIBLE && (ckey(CS.superspecies_id) in ids))) . += CS.uid /**