mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
[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:
+1
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user