]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix merge artifact (#14560)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Fri, 10 Mar 2023 06:49:00 +0000 (17:49 +1100)
committerGitHub <noreply@github.com>
Fri, 10 Mar 2023 06:49:00 +0000 (17:49 +1100)
Content.Client/Lobby/UI/LobbyCharacterPreviewPanel.cs

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