diff --git a/Sources/App/Controllers/StatsController.swift b/Sources/App/Controllers/StatsController.swift index a034c09..bf84808 100644 --- a/Sources/App/Controllers/StatsController.swift +++ b/Sources/App/Controllers/StatsController.swift @@ -148,8 +148,8 @@ struct StatsController: RouteCollection { content1 = "\(statisticItem.wins)-\(statisticItem.losses)" content2 = Utils.getRatio(wins: statisticItem.wins, losses: statisticItem.losses) sortOrder = 41 - backgroundColor = "CC5500" - + backgroundColor = colors.first(where: {$0.gameId == "bocw"})?.tileColour ?? backgroundColor + } else if statisticItem.codTrackerId == "vg_casual"{