Fixes a runtime with the crew manifest. (#81926)

## About The Pull Request
`/datum/dna/stored` is a specific subtype of `/datum/dna` that ignores
mutations. Wonderful for crew records on top of brain mobs tbf. The crew
manifest now uses it.

## Why It's Good For The Game
This will fix #81842.

## Changelog
N/A
This commit is contained in:
Ghom
2024-03-12 02:22:44 +01:00
committed by GitHub
parent c7c34f7fc3
commit d62d0e496c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -461,7 +461,7 @@ GLOBAL_LIST_INIT(total_uf_len_by_block, populate_total_uf_len_by_block())
update_dna_identity()
/datum/dna/stored //subtype used by brain mob's stored_dna
/datum/dna/stored //subtype used by brain mob's stored_dna and the crew manifest
/datum/dna/stored/add_mutation(mutation_name) //no mutation changes on stored dna.
return
+1 -1
View File
@@ -113,7 +113,7 @@ GLOBAL_DATUM_INIT(manifest, /datum/manifest, new)
person_gender = "Male"
if(person.gender == "female")
person_gender = "Female"
var/datum/dna/record_dna = new()
var/datum/dna/stored/record_dna = new()
person.dna.copy_dna(record_dna)
var/datum/record/locked/lockfile = new(