Fixes Breaking Change with UI windows. (#192)

* Custom UI window constructors were changed.

* Update Submodule.
This commit is contained in:
Acruid
2019-04-12 21:37:09 -07:00
committed by GitHub
parent 6f032f678a
commit 9d7345892f
8 changed files with 36 additions and 13 deletions

View File

@@ -4,6 +4,7 @@ using Content.Shared.Construction;
using Content.Shared.GameObjects.Components.Construction;
using SS14.Client.GameObjects;
using SS14.Client.Interfaces.GameObjects;
using SS14.Client.Interfaces.Graphics;
using SS14.Shared.GameObjects;
using SS14.Shared.Interfaces.GameObjects;
using SS14.Shared.Interfaces.GameObjects.Components;
@@ -39,7 +40,7 @@ namespace Content.Client.GameObjects.Components.Construction
case PlayerAttachedMsg _:
if (Button == null)
{
Button = new ConstructionButton();
Button = new ConstructionButton(IoCManager.Resolve<IDisplayManager>());
Button.Owner = this;
}
Button.AddToScreen();