From f9f204a6d03e08cb0d189f7d64c031a025711430 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Wed, 17 Apr 2024 20:06:10 +1000 Subject: [PATCH] Fix character preview not updating on character change (#27043) I love lobby code :3 --- Content.Client/Preferences/UI/CharacterSetupGui.xaml.cs | 3 +++ 1 file changed, 3 insertions(+) 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(); }; -- 2.52.0