mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-17 13:42:44 +00:00
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:
@@ -507,6 +507,8 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
|||||||
if(equipment)
|
if(equipment)
|
||||||
if(charjob)
|
if(charjob)
|
||||||
job_master.EquipRank(new_character, charjob, 1)
|
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)
|
equip_custom_items(new_character)
|
||||||
|
|
||||||
//If desired, add records.
|
//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)
|
data_core.manifest_inject(new_character)
|
||||||
|
|
||||||
//A redraw for good measure
|
//A redraw for good measure
|
||||||
new_character.update_icons_all()
|
new_character.regenerate_icons()
|
||||||
|
|
||||||
//If we're announcing their arrival
|
//If we're announcing their arrival
|
||||||
if(announce)
|
if(announce)
|
||||||
|
|||||||
Reference in New Issue
Block a user