From 2be06d1c65470cabc858f6e0f7299630187dfa2f Mon Sep 17 00:00:00 2001 From: Alberyk Date: Sun, 15 Nov 2020 08:09:11 -0300 Subject: [PATCH] Fixes species transformations giving people the wrong accent (#10552) What it says. Usually an issue with ghost roles. --- code/modules/mob/living/carbon/human/human.dm | 3 +++ html/changelogs/alberyk-accentfix.yml | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 html/changelogs/alberyk-accentfix.yml diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index ab1fb3a613c..c44046a03d4 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -1475,6 +1475,9 @@ if(change_hair) species.set_default_hair(src) + if(species.default_accent) + accent = species.default_accent + if(species) return 1 else diff --git a/html/changelogs/alberyk-accentfix.yml b/html/changelogs/alberyk-accentfix.yml new file mode 100644 index 00000000000..430246cf96b --- /dev/null +++ b/html/changelogs/alberyk-accentfix.yml @@ -0,0 +1,6 @@ +author: Alberyk + +delete-after: True + +changes: + - bugfix: "Fixed species transformation causing species to get accents that they should not be able to select."