diff --git a/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml.cs b/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml.cs index 381b9085a9..690b995b5e 100644 --- a/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml.cs +++ b/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml.cs @@ -562,18 +562,13 @@ namespace Content.Client.Preferences.UI private void RebuildSpriteView() { var species = Profile?.Species ?? SpeciesManager.DefaultSpecies; + var dollProto = _prototypeManager.Index(species).DollPrototype; - if (_lastSpecies != species) - { - var dollProto = _prototypeManager.Index(species).DollPrototype; - - if (_previewDummy != null) - _entMan.DeleteEntity(_previewDummy!.Value); - - _previewDummy = _entMan.SpawnEntity(dollProto, MapCoordinates.Nullspace); - _lastSpecies = species; - } + if (_previewDummy != null) + _entMan.DeleteEntity(_previewDummy!.Value); + _previewDummy = _entMan.SpawnEntity(dollProto, MapCoordinates.Nullspace); + _lastSpecies = species; var sprite = _entMan.GetComponent(_previewDummy!.Value); if (_previewSprite == null)