diff --git a/osu.Game/Screens/Ranking/Statistics/StatisticContainer.cs b/osu.Game/Screens/Ranking/Statistics/StatisticContainer.cs
index f3bd2c6fc1..79f813ef64 100644
--- a/osu.Game/Screens/Ranking/Statistics/StatisticContainer.cs
+++ b/osu.Game/Screens/Ranking/Statistics/StatisticContainer.cs
@@ -43,7 +43,7 @@ namespace osu.Game.Screens.Ranking.Statistics
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,
Margin = new MarginPadding { Top = 15 },
- Child = item.Content()
+ Child = item.CreateContent()
}
},
},
diff --git a/osu.Game/Screens/Ranking/Statistics/StatisticItem.cs b/osu.Game/Screens/Ranking/Statistics/StatisticItem.cs
index 5e6ddf445b..cb5ba4b9fe 100644
--- a/osu.Game/Screens/Ranking/Statistics/StatisticItem.cs
+++ b/osu.Game/Screens/Ranking/Statistics/StatisticItem.cs
@@ -19,9 +19,9 @@ namespace osu.Game.Screens.Ranking.Statistics
public readonly string Name;
///
- /// The content to be displayed.
+ /// A function returning the content to be displayed.
///
- public readonly Func Content;
+ public readonly Func CreateContent;
///
/// The of this row. This can be thought of as the column dimension of an encompassing .
@@ -29,7 +29,7 @@ namespace osu.Game.Screens.Ranking.Statistics
public readonly Dimension Dimension;
///
- /// Whether this item requires hit events. If true, the will not be created if no hit events are available.
+ /// Whether this item requires hit events. If true, will not be called if no hit events are available.
///
public readonly bool RequiresHitEvents;
@@ -37,14 +37,14 @@ namespace osu.Game.Screens.Ranking.Statistics
/// Creates a new , to be displayed inside a in the results screen.
///
/// The name of the item. Can be to hide the item header.
- /// Whether this item requires hit events. If true, the will not be created if no hit events are available.
- /// The content to be displayed.
+ /// Whether this item requires hit events. If true, will not be called if no hit events are available.
+ /// A function returning the content to be displayed.
/// The of this item. This can be thought of as the column dimension of an encompassing .
- public StatisticItem([NotNull] string name, bool requiresHitEvents, [NotNull] Func content, [CanBeNull] Dimension dimension = null)
+ public StatisticItem([NotNull] string name, bool requiresHitEvents, [NotNull] Func createContent, [CanBeNull] Dimension dimension = null)
{
Name = name;
RequiresHitEvents = requiresHitEvents;
- Content = content;
+ CreateContent = createContent;
Dimension = dimension;
}
}