From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Wed, 17 Apr 2024 10:06:10 +0000 (+1000) Subject: Fix character preview not updating on character change (#27043) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=f9f204a6d03e08cb0d189f7d64c031a025711430;p=space-station-14.git Fix character preview not updating on character change (#27043) I love lobby code :3 --- diff --git a/Content.Client/Preferences/UI/CharacterSetupGui.xaml.cs b/Content.Client/Preferences/UI/CharacterSetupGui.xaml.cs index ea8de09ab5..8dda0220a9 100644 --- a/Content.Client/Preferences/UI/CharacterSetupGui.xaml.cs +++ b/Content.Client/Preferences/UI/CharacterSetupGui.xaml.cs @@ -135,6 +135,9 @@ namespace Content.Client.Preferences.UI _humanoidProfileEditor.CharacterSlot = characterIndexCopy; _humanoidProfileEditor.UpdateControls(); _preferencesManager.SelectCharacter(character); + var controller = UserInterfaceManager.GetUIController(); + controller.UpdateProfile(_humanoidProfileEditor.Profile); + controller.ReloadCharacterUI(); UpdateUI(); args.Event.Handle(); };