From f6c638f1bb3619ce617407ae034f84e672e5612a Mon Sep 17 00:00:00 2001 From: PhantornRU Date: Mon, 11 Dec 2023 20:00:34 +1000 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=B8=D0=BC=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2=D1=8B=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D1=84?= =?UTF-8?q?=D1=83=D0=BD=D0=BA=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modular_ss220/jobs/code/donor/donor_jobs.dm | 4 ++-- modular_ss220/jobs/code/donor/job/5_tier_jobs.dm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modular_ss220/jobs/code/donor/donor_jobs.dm b/modular_ss220/jobs/code/donor/donor_jobs.dm index 19a151000617..af7a40d5c983 100644 --- a/modular_ss220/jobs/code/donor/donor_jobs.dm +++ b/modular_ss220/jobs/code/donor/donor_jobs.dm @@ -96,9 +96,9 @@ // Переводим должность и предлагаем взять альтернативную должность /datum/job/donor/after_spawn(mob/living/carbon/human/H) . = ..() - INVOKE_ASYNC(src, PROC_REF(make_alt_title), H) + INVOKE_ASYNC(src, PROC_REF(after_donor_spawn), H) -/datum/job/donor/proc/make_alt_title(mob/living/carbon/human/H) +/datum/job/donor/proc/after_donor_spawn(mob/living/carbon/human/H) choose_id_assignment(H) for(var/datum/data/record/R in GLOB.data_core.general) if(R && H.real_name == R.fields["name"]) diff --git a/modular_ss220/jobs/code/donor/job/5_tier_jobs.dm b/modular_ss220/jobs/code/donor/job/5_tier_jobs.dm index b9feca19f157..2830f5ee2601 100644 --- a/modular_ss220/jobs/code/donor/job/5_tier_jobs.dm +++ b/modular_ss220/jobs/code/donor/job/5_tier_jobs.dm @@ -152,7 +152,7 @@ if("Клоун Кадет") head = /obj/item/clothing/head/soft/sec -/datum/job/donor/seclown/make_alt_title(mob/living/carbon/human/H) +/datum/job/donor/seclown/after_donor_spawn(mob/living/carbon/human/H) if(H.mind) var/clown_name = pick(GLOB.clown_names) var/newname = clean_input("Выберите имя для вашего Клоуна Службы Безопасности.", "Изменение Имени", clown_name, H)