[MIRROR] Fixes species being referenced instead of copied when cloning (#2859)
* Fixes species being referenced instead of copied when cloning * fixes * wew
This commit is contained in:
committed by
Poojawa
parent
518e04a653
commit
51d8182b13
+4
-2
@@ -235,7 +235,9 @@
|
||||
flavor_text = dna.features["flavor_text"] //Update the flavor_text to use new dna text
|
||||
|
||||
if(mrace)
|
||||
set_species(mrace, icon_update=0)
|
||||
var/datum/species/newrace = new mrace.type
|
||||
newrace.copy_properties_from(mrace)
|
||||
set_species(newrace, icon_update=0)
|
||||
|
||||
if(newreal_name)
|
||||
real_name = newreal_name
|
||||
@@ -396,4 +398,4 @@
|
||||
value = values
|
||||
return value
|
||||
|
||||
/////////////////////////// DNA HELPER-PROCS
|
||||
/////////////////////////// DNA HELPER-PROCS
|
||||
Reference in New Issue
Block a user