Updates respawn_character some more

- Fixes Spawned characters not having their job title set properly
- Fixes depreciated proc being called, replaces with closest equivalent: regenerate_icons()
This commit is contained in:
Unknown
2021-03-29 03:00:44 -04:00
parent 10c5e5d4b0
commit de5cb9e42f

View File

@@ -507,6 +507,8 @@ Traitors and the like can also be revived with the previous role mostly intact.
if(equipment)
if(charjob)
job_master.EquipRank(new_character, charjob, 1)
new_character.mind.assigned_role = charjob
new_character.mind.role_alt_title = job_master.GetPlayerAltTitle(new_character, charjob)
equip_custom_items(new_character)
//If desired, add records.
@@ -514,7 +516,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
data_core.manifest_inject(new_character)
//A redraw for good measure
new_character.update_icons_all()
new_character.regenerate_icons()
//If we're announcing their arrival
if(announce)