* Fix #6154

This is a web edit

* This is not a web edit

(It's still broken)

* Fix more missing files from the patch
This commit is contained in:
ZeroDayDaemon
2022-01-14 13:19:07 -05:00
committed by GitHub
parent 2947b33481
commit 3e2ba2a91d
2 changed files with 31 additions and 22 deletions

View File

@@ -1,4 +1,4 @@
using Content.Client.Chat.UI;
using Content.Client.Chat.UI;
using Content.Client.Info;
using Content.Client.Preferences;
using Robust.Client.AutoGenerated;
@@ -7,7 +7,9 @@ using Robust.Client.UserInterface;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.XAML;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Maths;
using Robust.Shared.Prototypes;
using static Robust.Client.UserInterface.Controls.BoxContainer;
namespace Content.Client.Lobby.UI
@@ -27,7 +29,8 @@ namespace Content.Client.Lobby.UI
CharacterPreview = new LobbyCharacterPreviewPanel(
entityManager,
preferencesManager)
preferencesManager,
IoCManager.Resolve<IPrototypeManager>())
{
HorizontalAlignment = HAlignment.Left
};
@@ -46,7 +49,7 @@ namespace Content.Client.Lobby.UI
{
var panel = new PanelContainer()
{
PanelOverride = new StyleBoxFlat {BackgroundColor = Color.FromHex("#202028")},
PanelOverride = new StyleBoxFlat { BackgroundColor = Color.FromHex("#202028") },
};
_vBox = new BoxContainer
{