Show total playtime in player list and AHelp window (#20980)
This commit is contained in:
@@ -120,9 +120,11 @@ namespace Content.Client.Administration.UI.Tabs.PlayerTab
|
||||
player.StartingJob,
|
||||
player.Antag ? "YES" : "NO",
|
||||
new StyleBoxFlat(useAltColor ? _altColor : _defaultColor),
|
||||
player.Connected);
|
||||
player.Connected,
|
||||
player.PlaytimeString());
|
||||
entry.PlayerEntity = player.NetEntity;
|
||||
entry.OnPressed += args => OnEntryPressed?.Invoke(args);
|
||||
entry.ToolTip = Loc.GetString("player-tab-entry-tooltip");
|
||||
PlayerList.AddChild(entry);
|
||||
|
||||
useAltColor ^= true;
|
||||
|
||||
Reference in New Issue
Block a user