Skip to content

Issue with Action Grant/Remove #15932

Discussion options

You must be logged in to vote

When transforming as a changeling, we end up here:

/mob/living/carbon/human/proc/change_dna(datum/dna/new_dna, include_species_change = FALSE, keep_flavor_text = FALSE)
	if(include_species_change)
		set_species(new_dna.species.type, retain_damage = TRUE)
	dna = new_dna.Clone()
	[...]

The set_species() call here works fine, just as you suspect, the slime gets their grow and recolor because on_species_gain() was called. However the issue happens inside the Clone() proc, specifically the line: new_dna.species = new species.type

/datum/dna/proc/Clone()
	var/datum/dna/new_dna = new()
	new_dna.unique_enzymes = unique_enzymes
	new_dna.struc_enzymes_original = struc_enzymes_original // will make …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Sirryan2002
Comment options

Sirryan2002 Apr 23, 2021
Collaborator Author

Answer selected by Sirryan2002
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants