From 7249a077b4d8d072b0e07d9b33d3eeadfd7e62af Mon Sep 17 00:00:00 2001 From: Dip Date: Thu, 17 Sep 2020 23:09:32 -0300 Subject: [PATCH] quirk fix --- code/game/objects/structures/mirror.dm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/code/game/objects/structures/mirror.dm b/code/game/objects/structures/mirror.dm index c241b0540..389f38f4c 100644 --- a/code/game/objects/structures/mirror.dm +++ b/code/game/objects/structures/mirror.dm @@ -30,14 +30,15 @@ if(alert(user, "Would you like to load your currently loaded character's appearance?", "This can only be done up until 90s after you spawn.", "Yes", "No") == "Yes" && world.time <= (H.time_initialized + 900)) H.client.prefs.copy_to(user) H.real_name = H.client.prefs.real_name - H.mind.name = H.real_name - H.dna.update_dna_identity() - var/obj/item/card/id/idCard = user.get_idcard() + H.mind.name = H.real_name //Makes sure to change their mind name to their real name. + H.dna.update_dna_identity() //This makes sure their DNA is updated. + SSquirks.AssignQuirks(H, H.client, TRUE, FALSE, H.job, FALSE)//This Assigns the selected character's quirks + var/obj/item/card/id/idCard = user.get_idcard() //Time to change their ID card as well if they have one. if (idCard != null) idCard.update_label(H.real_name, idCard.assignment) idCard.registered_name = H.real_name - H.mirrorcanloadappearance = FALSE - SEND_SOUND(H, 'sound/magic/charge.ogg') + H.mirrorcanloadappearance = FALSE //Prevents them from using the mirror again. + SEND_SOUND(H, 'sound/magic/charge.ogg') //Fluff to_chat(H, "Your head aches for a second. You feel like this is how things should have been.") log_game("[key_name(user)] has loaded their default appearance for a ghost role.") message_admins("[ADMIN_LOOKUPFLW(user)] has loaded their default appearance for a ghost role.")