Fix character preview not updating on character change (#27043)

I love lobby code :3
This commit is contained in:
metalgearsloth
2024-04-17 20:06:10 +10:00
committed by GitHub
parent 03f51ca3aa
commit f9f204a6d0

View File

@@ -135,6 +135,9 @@ namespace Content.Client.Preferences.UI
_humanoidProfileEditor.CharacterSlot = characterIndexCopy;
_humanoidProfileEditor.UpdateControls();
_preferencesManager.SelectCharacter(character);
var controller = UserInterfaceManager.GetUIController<LobbyUIController>();
controller.UpdateProfile(_humanoidProfileEditor.Profile);
controller.ReloadCharacterUI();
UpdateUI();
args.Event.Handle();
};