Fixes change appearance not working for other species

This commit is contained in:
Yoshax
2016-08-14 16:10:07 +01:00
parent 4e37d71657
commit cfaada473b
2 changed files with 6 additions and 3 deletions

View File

@@ -149,10 +149,10 @@
continue
if(blacklist.len && (current_species_name in blacklist))
continue
if((current_species.spawn_flags & SPECIES_IS_WHITELISTED) && !is_alien_whitelisted(src, current_species_name))
if((current_species.spawn_flags & SPECIES_IS_WHITELISTED) && !is_alien_whitelisted(src, current_species))
continue
valid_species += current_species_name
valid_species += current_species
return valid_species