sets hardset_dna to clear exotic blood on race changes

sets every instance of race changes to use hardset_dna instead of directly replacing the datum (needs more testing to be sure I didn't break shit)
removes the invisible man race (aka the generic) and shadowlings from the new green slime mutation toxin while I'm in the area
This commit is contained in:
Incoming
2015-04-23 12:35:37 -04:00
parent ca5d1d133e
commit f59c01e721
17 changed files with 30 additions and 27 deletions
+2 -2
View File
@@ -863,9 +863,9 @@ datum/preferences
if(character.dna)
character.dna.real_name = character.real_name
if(pref_species != /datum/species/human && config.mutant_races)
character.dna.species = new pref_species.type()
hardset_dna(character, null, null, null, null, pref_species.type)
else
character.dna.species = new /datum/species/human()
hardset_dna(character, null, null, null, null, /datum/species/human)
character.dna.mutant_color = mutant_color
character.update_mutcolor()