diff --git a/Content.Client/Ghost/UI/GhostTargetWindow.xaml b/Content.Client/Ghost/UI/GhostTargetWindow.xaml index 1107657ac5..df42f22c47 100644 --- a/Content.Client/Ghost/UI/GhostTargetWindow.xaml +++ b/Content.Client/Ghost/UI/GhostTargetWindow.xaml @@ -1,9 +1,10 @@  + MinSize="450 450" + SetSize="450 450"> + HorizontalExpand="True" + HScrollEnabled="False"> (attached).EntityName); + TryComp(attached, out var mind); + + string playerInfo = $"{EntityManager.GetComponent(attached).EntityName} ({mind?.Mind?.CurrentJob?.Name ?? "Unknown"})"; + + if (TryComp(attached, out var state) && !state.IsDead()) + players.Add(attached, playerInfo); } }