Skip to content

Commit

Permalink
Rename argument
Browse files Browse the repository at this point in the history
  • Loading branch information
bdach committed Feb 14, 2024
1 parent 86fc519 commit 57de4bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osu.Game/Overlays/Profile/Header/Components/TotalPlayTime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ private void load()
UserStatistics.BindValueChanged(updateTime, true);
}

private void updateTime(ValueChangedEvent<UserStatistics?> user)
private void updateTime(ValueChangedEvent<UserStatistics?> statistics)
{
int? playTime = user.NewValue?.PlayTime;
int? playTime = statistics.NewValue?.PlayTime;
TooltipText = (playTime ?? 0) / 3600 + " hours";
info.Content = formatTime(playTime);
}
Expand Down

0 comments on commit 57de4bc

Please sign in to comment.