Skip to content

Commit

Permalink
Переименовывание функции
Browse files Browse the repository at this point in the history
  • Loading branch information
PhantornRU committed Dec 11, 2023
1 parent 2e4f9eb commit f6c638f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions modular_ss220/jobs/code/donor/donor_jobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down
2 changes: 1 addition & 1 deletion modular_ss220/jobs/code/donor/job/5_tier_jobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f6c638f

Please sign in to comment.