mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
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.
This commit is contained in:
committed by
Jordan Brown
parent
e06f32b14d
commit
9605695596
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user