Save weight when resleeving while here

This commit is contained in:
Arokha Sieyes
2017-04-10 18:19:02 -04:00
parent 5cb6d250d0
commit f451a7587f
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -154,6 +154,7 @@ var/datum/transhuman/infocore/transcore = new/datum/transhuman/infocore
var/list/organ_data = list(O_HEART, O_EYES, O_LUNGS, O_BRAIN)
var/toocomplex
var/sizemult
var/weight
/datum/transhuman/body_record/New(var/copyfrom, var/add_to_db = 0, var/ckeylock = 0)
..()
@@ -188,6 +189,7 @@ var/datum/transhuman/infocore/transcore = new/datum/transhuman/infocore
bodygender = M.gender
body_oocnotes = M.ooc_notes
sizemult = M.size_multiplier
weight = M.weight
//Probably should
M.dna.check_integrity()
+2
View File
@@ -89,6 +89,7 @@
H.ooc_notes = current_project.body_oocnotes
H.flavor_texts = current_project.mydna.flavor.Copy()
H.size_multiplier = current_project.sizemult
H.weight = current_project.weight
if(current_project.speciesname)
H.custom_species = current_project.speciesname
@@ -301,6 +302,7 @@
H.ooc_notes = current_project.body_oocnotes
H.flavor_texts = current_project.mydna.flavor.Copy()
H.size_multiplier = current_project.sizemult
H.weight = current_project.weight
if(current_project.speciesname)
H.custom_species = current_project.speciesname