diff --git a/code/datums/datacore.dm b/code/datums/datacore.dm index c3cfda7c..52a5dc64 100644 --- a/code/datums/datacore.dm +++ b/code/datums/datacore.dm @@ -212,7 +212,7 @@ if(C && C.prefs && C.prefs.alt_titles_preferences[assignment]) assignment = C.prefs.alt_titles_preferences[assignment] if(assignment) - displayed_rank = H.client.prefs.alt_titles_preferences[assignment] + displayed_rank = C.prefs.alt_titles_preferences[assignment] var/static/record_id_num = 1001 var/id = num2hex(record_id_num++,6) diff --git a/code/modules/admin/verbs/randomverbs.dm b/code/modules/admin/verbs/randomverbs.dm index 5b9af57d..6a0f27d0 100644 --- a/code/modules/admin/verbs/randomverbs.dm +++ b/code/modules/admin/verbs/randomverbs.dm @@ -488,7 +488,7 @@ Traitors and the like can also be revived with the previous role mostly intact. if(!record_found&&new_character.mind.assigned_role!=new_character.mind.special_role)//If there are no records for them. If they have a record, this info is already in there. MODE people are not announced anyway. //Power to the user! if(alert(new_character,"Warning: No data core entry detected. Would you like to announce the arrival of this character by adding them to various databases, such as medical records?",,"No","Yes")=="Yes") - GLOB.data_core.manifest_inject(new_character) + GLOB.data_core.manifest_inject(new_character, new_character.client) if(alert(new_character,"Would you like an active AI to announce this character?",,"No","Yes")=="Yes") AnnounceArrival(new_character, new_character.mind.assigned_role) diff --git a/code/modules/mob/dead/new_player/new_player.dm b/code/modules/mob/dead/new_player/new_player.dm index 876214b3..20d108d7 100644 --- a/code/modules/mob/dead/new_player/new_player.dm +++ b/code/modules/mob/dead/new_player/new_player.dm @@ -395,7 +395,7 @@ humanc = character //Let's retypecast the var to be human, if(humanc) //These procs all expect humans - GLOB.data_core.manifest_inject(humanc) + GLOB.data_core.manifest_inject(humanc, humanc.client) if(SSshuttle.arrivals) SSshuttle.arrivals.QueueAnnounce(humanc, rank) else