Removed LocalizationManager dependencies (#2059)
* Removed LocalizationManager dependencies * Fixed error Co-authored-by: David Tan <>
This commit is contained in:
@@ -10,7 +10,6 @@ namespace Content.Client.GameObjects.Components.Access
|
||||
{
|
||||
public class IdCardConsoleBoundUserInterface : BoundUserInterface
|
||||
{
|
||||
[Dependency] private readonly ILocalizationManager _localizationManager = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
|
||||
public IdCardConsoleBoundUserInterface(ClientUserInterfaceComponent owner, object uiKey) : base(owner, uiKey)
|
||||
@@ -23,7 +22,7 @@ namespace Content.Client.GameObjects.Components.Access
|
||||
{
|
||||
base.Open();
|
||||
|
||||
_window = new IdCardConsoleWindow(this, _localizationManager, _prototypeManager);
|
||||
_window = new IdCardConsoleWindow(this, _prototypeManager);
|
||||
_window.Title = Owner.Owner.Name;
|
||||
_window.OnClose += Close;
|
||||
_window.OpenCentered();
|
||||
|
||||
Reference in New Issue
Block a user