[MIRROR] Fixes the mind.name of evolved aliens not being updated (for real this time) [MDB IGNORE] (#8864)

* Fixes an old one line PR that was supposed to fix something but actually didn't. (#62020)

In #61595, I forgot that `mind.transfer_to()` sets the mind variable of the current mob to null. So i'm moving that `mind.name = new_xeno.real_name` statement above the proc call.

* Fixes the mind.name of evolved aliens not being updated (for real this time)

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-10-16 20:32:54 -04:00
committed by GitHub
co-authored by Ghom
parent be43595093
commit 38769d2da0
@@ -127,8 +127,8 @@ Des: Removes all infected images from the alien.
new_xeno.name = name
new_xeno.real_name = real_name
if(mind)
mind.transfer_to(new_xeno)
mind.name = new_xeno.real_name
mind.transfer_to(new_xeno)
qdel(src)
/mob/living/carbon/alien/can_hold_items(obj/item/I)