From 960569559688bc3620bde80f873d11ea07083ba7 Mon Sep 17 00:00:00 2001 From: Fluffy Sensation Date: Tue, 18 Sep 2018 12:25:26 +1200 Subject: [PATCH] mannequin fix for lizard people (#40308) * mannequin fix for lizard people Just a small sequence problem with the race default features being loaded after setting them and tail not being set to update. * Mannequin Fix for Lizard People Just a small sequence problem with the race default features being loaded after setting them and tail not being set to update. This would lead to the mannequin just having a smooth tail and no spines the default setting for a lizard tail. --- code/modules/client/preferences.dm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm index 7bc1227af2b..e53199de50f 100644 --- a/code/modules/client/preferences.dm +++ b/code/modules/client/preferences.dm @@ -1509,8 +1509,6 @@ GLOBAL_LIST_EMPTY(preferences_datums) character.backbag = backbag - character.dna.features = features.Copy() - character.dna.real_name = character.real_name var/datum/species/chosen_species if(!roundstart_checks || (pref_species.id in GLOB.roundstart_races)) chosen_species = pref_species.type @@ -1518,7 +1516,13 @@ GLOBAL_LIST_EMPTY(preferences_datums) chosen_species = /datum/species/human pref_species = new /datum/species/human save_character() + character.set_species(chosen_species, icon_update = FALSE, pref_load = TRUE) + character.dna.features = features.Copy() + character.dna.real_name = character.real_name + + if("tail_lizard" in pref_species.default_features) + character.dna.species.mutant_bodyparts |= "tail_lizard" if(icon_updates) character.update_body()