Fix merge artifact (#14560)

This commit is contained in:
metalgearsloth
2023-03-10 17:49:00 +11:00
committed by GitHub
parent e5256b8a01
commit 1d1059f5ea

View File

@@ -74,6 +74,8 @@ namespace Content.Client.Lobby.UI
AddChild(vBox); AddChild(vBox);
UpdateUI(); UpdateUI();
_preferencesManager.OnServerDataLoaded += UpdateUI;
} }
public Button CharacterSetupButton { get; } public Button CharacterSetupButton { get; }
@@ -126,7 +128,7 @@ namespace Content.Client.Lobby.UI
_viewBox.AddChild(viewWest); _viewBox.AddChild(viewWest);
_viewBox.AddChild(viewEast); _viewBox.AddChild(viewEast);
_summaryLabel.Text = selectedCharacter.Summary; _summaryLabel.Text = selectedCharacter.Summary;
_entityManager.System<HumanoidAppearanceSystem>().LoadProfile(_previewDummy.Value, selectedCharacter); EntitySystem.Get<HumanoidAppearanceSystem>().LoadProfile(_previewDummy.Value, selectedCharacter);
GiveDummyJobClothes(_previewDummy.Value, selectedCharacter); GiveDummyJobClothes(_previewDummy.Value, selectedCharacter);
} }
} }