Refactors the mind.original variable into non reference variables. Improving player mob GC (#17219)

This commit is contained in:
Farie82
2021-12-16 18:30:21 +01:00
committed by GitHub
parent 6e1976f5cf
commit 8001f1ec04
14 changed files with 30 additions and 21 deletions
+1 -1
View File
@@ -550,7 +550,7 @@
else if(mind.assigned_role == "Mime")
new_character.real_name = pick(GLOB.mime_names)
new_character.rename_self("mime")
mind.original = new_character
mind.set_original_mob(new_character)
mind.transfer_to(new_character) //won't transfer key since the mind is not active