Inline Name
This commit is contained in:
@@ -2,6 +2,7 @@ using JetBrains.Annotations;
|
||||
using Robust.Client.GameObjects;
|
||||
using Robust.Client.UserInterface.Controls;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.IoC;
|
||||
using static Content.Shared.Paper.SharedPaperComponent;
|
||||
|
||||
namespace Content.Client.Paper.UI
|
||||
@@ -20,7 +21,7 @@ namespace Content.Client.Paper.UI
|
||||
base.Open();
|
||||
_window = new PaperWindow
|
||||
{
|
||||
Title = Owner.Owner.Name,
|
||||
Title = IoCManager.Resolve<IEntityManager>().GetComponent<MetaDataComponent>(Owner.Owner.Uid).EntityName,
|
||||
};
|
||||
_window.OnClose += Close;
|
||||
_window.Input.OnTextEntered += Input_OnTextEntered;
|
||||
|
||||
Reference in New Issue
Block a user