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

@@ -14,7 +14,10 @@
if(!preserve_appearance && (flags & ANTAG_SET_APPEARANCE))
spawn(3)
var/mob/living/carbon/human/H = player.current
if(istype(H)) H.change_appearance(APPEARANCE_ALL, H.loc, H, valid_species, state = z_state)
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)
return player.current
/datum/antagonist/proc/update_access(var/mob/living/player)