From 3a0318309ca4d96d9986c63d9350776fcae5001d Mon Sep 17 00:00:00 2001 From: forest2001 Date: Mon, 27 Jul 2026 07:30:26 +0100 Subject: [PATCH] x --- code/modules/jobs/job_types/_job.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/jobs/job_types/_job.dm b/code/modules/jobs/job_types/_job.dm index d756ddadc57..71ca776f7ce 100644 --- a/code/modules/jobs/job_types/_job.dm +++ b/code/modules/jobs/job_types/_job.dm @@ -311,7 +311,7 @@ /datum/job/proc/pre_outfit_equip(mob/living/carbon/human/spawned, client/player_client) SHOULD_CALL_PARENT(TRUE) - adjust_patron(spawned) + adjust_patron(spawned, player_client) /// Executes after the mob has been spawned in the map. /// Client might not be yet in the mob, and is thus a separate variable. @@ -564,10 +564,10 @@ if(parent_job) return parent_job.remove_job(spawned) -/datum/job/proc/adjust_patron(mob/living/carbon/human/spawned) +/datum/job/proc/adjust_patron(mob/living/carbon/human/spawned, client/player_client) var/datum/patron/old_patron = spawned.patron - if(tennite_triumph_exclusive && !spawned.client?.has_triumph_buy(TRIUMPH_BUY_HERETIC_NOBLE) && !(old_patron.type in UNDIVIDED_TEMPLE_PATRONS)) + if(tennite_triumph_exclusive && !player_client?.has_triumph_buy(TRIUMPH_BUY_HERETIC_NOBLE) && !(old_patron.type in UNDIVIDED_TEMPLE_PATRONS)) spawned.set_patron(/datum/patron/divine/astrata, TRUE) to_chat(spawned, span_warning("I've followed the word of [old_patron.display_name ? old_patron.display_name : old_patron] in my younger years, \ but the path I tread todae proves only The Ten may rule!"))