Show total playtime in player list and AHelp window (#20980)
This commit is contained in:
@@ -10,7 +10,7 @@ public sealed partial class PlayerTabEntry : ContainerButton
|
||||
{
|
||||
public NetEntity? PlayerEntity;
|
||||
|
||||
public PlayerTabEntry(string username, string character, string identity, string job, string antagonist, StyleBox styleBox, bool connected)
|
||||
public PlayerTabEntry(string username, string character, string identity, string job, string antagonist, StyleBox styleBox, bool connected, string overallPlaytime)
|
||||
{
|
||||
RobustXamlLoader.Load(this);
|
||||
|
||||
@@ -23,5 +23,6 @@ public sealed partial class PlayerTabEntry : ContainerButton
|
||||
CharacterLabel.Text += $" [{identity}]";
|
||||
AntagonistLabel.Text = antagonist;
|
||||
BackgroundColorPanel.PanelOverride = styleBox;
|
||||
OverallPlaytimeLabel.Text = overallPlaytime;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user