[MIRROR] Fixes a runtime with the crew manifest. (#26843)

* 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

* Fixes a runtime with the crew manifest.

---------

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
SkyratBot
2024-03-11 22:48:45 -04:00
committed by GitHub
co-authored by Ghom
parent d7cdc024f5
commit 07c787ca55
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -514,7 +514,7 @@ GLOBAL_LIST_INIT(total_uf_len_by_block, populate_total_uf_len_by_block())
mutant_bodyparts = species.get_mutant_bodyparts(features, existing_mutant_bodyparts = randomize_features ? list() : mutant_bodyparts) // SKYRAT EDIT ADDITION
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
@@ -111,7 +111,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)
// SKYRAT EDIT ADDITION BEGIN - ALTERNATIVE_JOB_TITLES