Fix compiler warnings and remove dead code.
This commit is contained in:
@@ -40,8 +40,7 @@ namespace Content.Client.GameObjects.Components.Construction
|
||||
case PlayerAttachedMsg _:
|
||||
if (Button == null)
|
||||
{
|
||||
Button = new ConstructionButton(IoCManager.Resolve<IDisplayManager>());
|
||||
Button.Owner = this;
|
||||
Button = new ConstructionButton {Owner = this};
|
||||
}
|
||||
Button.AddToScreen();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user