Login tips (#22234)
* Init coomit * meh * okay * Revert "okay" This reverts commit bb638aa4baa8dbd0e285c3435aabf83171a4806a. * enable-d * Update Content.Client/Launcher/LauncherConnectingGui.xaml.cs Co-authored-by: Kara <lunarautomaton6@gmail.com> * review --------- Co-authored-by: Kara <lunarautomaton6@gmail.com> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
using System;
|
||||
using Robust.Client;
|
||||
using Robust.Client.UserInterface;
|
||||
using Robust.Shared.Configuration;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Log;
|
||||
using Robust.Shared.Network;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Random;
|
||||
|
||||
namespace Content.Client.Launcher
|
||||
{
|
||||
@@ -13,6 +16,9 @@ namespace Content.Client.Launcher
|
||||
[Dependency] private readonly IClientNetManager _clientNetManager = default!;
|
||||
[Dependency] private readonly IGameController _gameController = default!;
|
||||
[Dependency] private readonly IBaseClient _baseClient = default!;
|
||||
[Dependency] private readonly IRobustRandom _random = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private readonly IConfigurationManager _cfg = default!;
|
||||
|
||||
private LauncherConnectingGui? _control;
|
||||
|
||||
@@ -51,7 +57,7 @@ namespace Content.Client.Launcher
|
||||
|
||||
protected override void Startup()
|
||||
{
|
||||
_control = new LauncherConnectingGui(this);
|
||||
_control = new LauncherConnectingGui(this, _random, _prototypeManager, _cfg);
|
||||
|
||||
_userInterfaceManager.StateRoot.AddChild(_control);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user