mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Fixes valid_species having datums
This commit is contained in:
@@ -15,8 +15,6 @@
|
|||||||
spawn(3)
|
spawn(3)
|
||||||
var/mob/living/carbon/human/H = player.current
|
var/mob/living/carbon/human/H = player.current
|
||||||
if(istype(H))
|
if(istype(H))
|
||||||
for(var/I in valid_species)
|
|
||||||
world << "Species: [I]"
|
|
||||||
H.change_appearance(APPEARANCE_ALL, H.loc, H, species_whitelist = valid_species, state = z_state)
|
H.change_appearance(APPEARANCE_ALL, H.loc, H, species_whitelist = valid_species, state = z_state)
|
||||||
return player.current
|
return player.current
|
||||||
|
|
||||||
|
|||||||
@@ -152,7 +152,7 @@
|
|||||||
if((current_species.spawn_flags & SPECIES_IS_WHITELISTED) && !is_alien_whitelisted(src, current_species))
|
if((current_species.spawn_flags & SPECIES_IS_WHITELISTED) && !is_alien_whitelisted(src, current_species))
|
||||||
continue
|
continue
|
||||||
|
|
||||||
valid_species += current_species
|
valid_species += current_species_name
|
||||||
|
|
||||||
return valid_species
|
return valid_species
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user