From 7c6cb5a250ce0069fe318f45b46acb8d02bce043 Mon Sep 17 00:00:00 2001 From: harryob <55142896+harryob@users.noreply.github.com> Date: Wed, 8 Nov 2023 08:52:52 +0000 Subject: [PATCH] not a fan of this --- code/modules/gear_presets/_select_equipment.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/gear_presets/_select_equipment.dm b/code/modules/gear_presets/_select_equipment.dm index 6bd7a52c96b..8738e6dc7d8 100644 --- a/code/modules/gear_presets/_select_equipment.dm +++ b/code/modules/gear_presets/_select_equipment.dm @@ -85,7 +85,7 @@ /datum/equipment_preset/proc/load_name(mob/living/carbon/human/new_human, randomise, client/mob_client) new_human.gender = pick(60;MALE,40;FEMALE) - var/datum/preferences/A = new() + var/datum/preferences/A = INVOKE_ASYNC(_new(/datum/preferences)) A.randomize_appearance(new_human) var/random_name = capitalize(pick(new_human.gender == MALE ? first_names_male : first_names_female)) + " " + capitalize(pick(last_names)) new_human.change_real_name(new_human, random_name)