Make content work with UI engine changes (#10990)
This commit is contained in:
@@ -44,7 +44,7 @@ namespace Content.Client.Viewport
|
||||
|
||||
public MainViewport Viewport { get; private set; } = default!;
|
||||
|
||||
public override void Startup()
|
||||
protected override void Startup()
|
||||
{
|
||||
base.Startup();
|
||||
|
||||
@@ -88,7 +88,7 @@ namespace Content.Client.Viewport
|
||||
_configurationManager.OnValueChanged(CCVars.HudFpsCounterVisible, (show) => { _fpsCounter.Visible = show; });
|
||||
}
|
||||
|
||||
public override void Shutdown()
|
||||
protected override void Shutdown()
|
||||
{
|
||||
_overlayManager.RemoveOverlay<ShowHandItemOverlay>();
|
||||
DisposePresenters();
|
||||
|
||||
@@ -34,13 +34,13 @@ namespace Content.Client.Viewport
|
||||
|
||||
private ClickableEntityComparer _comparer = default!;
|
||||
|
||||
public override void Startup()
|
||||
protected override void Startup()
|
||||
{
|
||||
_inputManager.KeyBindStateChanged += OnKeyBindStateChanged;
|
||||
_comparer = new ClickableEntityComparer(_entityManager);
|
||||
}
|
||||
|
||||
public override void Shutdown()
|
||||
protected override void Shutdown()
|
||||
{
|
||||
_inputManager.KeyBindStateChanged -= OnKeyBindStateChanged;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user