diff --git a/API/Controllers/StatsController.cs b/API/Controllers/StatsController.cs index d4e35c1..99b7971 100644 --- a/API/Controllers/StatsController.cs +++ b/API/Controllers/StatsController.cs @@ -22,7 +22,7 @@ public ActionResult GetPlayersFactions(Guid personIdentifier) var overall = new Statistics(); var statsLookup = new Dictionary(); - foreach (var faction in _db.Factions) + foreach (var faction in _db.Factions.Where(x => !x.HideFromStatistics)) { statsLookup[faction.Identifier] = new Statistic(faction.Name, faction.Identifier); }