diff --git a/code/datums/records/record.dm b/code/datums/records/record.dm index e491228269f..72581360cb3 100644 --- a/code/datums/records/record.dm +++ b/code/datums/records/record.dm @@ -127,6 +127,8 @@ var/datum/dna/dna_ref /// Mind datum var/datum/mind/mind_ref + /// Typepath of species used by player, for usage in respawning via records + var/species_type /datum/record/locked/New( age = 18, @@ -147,6 +149,7 @@ . = ..() src.dna_ref = dna_ref src.mind_ref = mind_ref + species_type = dna_ref.species.type GLOB.manifest.locked += src diff --git a/code/modules/admin/verbs/admingame.dm b/code/modules/admin/verbs/admingame.dm index aa517b16ba7..21d17a05429 100644 --- a/code/modules/admin/verbs/admingame.dm +++ b/code/modules/admin/verbs/admingame.dm @@ -212,10 +212,10 @@ Traitors and the like can also be revived with the previous role mostly intact. if(record_found)//If they have a record we can determine a few things. new_character.real_name = record_found.name - new_character.gender = record_found.gender + new_character.gender = lowertext(record_found.gender) new_character.age = record_found.age var/datum/dna/found_dna = record_found.dna_ref - new_character.hardset_dna(found_dna.unique_identity, record_found.dna_string, null, record_found.name, record_found.blood_type, new record_found.species, found_dna.features) + new_character.hardset_dna(found_dna.unique_identity, found_dna.mutation_index, null, record_found.name, record_found.blood_type, new record_found.species_type, found_dna.features) else new_character.randomize_human_appearance() new_character.dna.update_dna_identity()