From d4a67dffe6de3e812f74571d2c46f2250b8bd149 Mon Sep 17 00:00:00 2001 From: Michael Simard Date: Sat, 26 Nov 2022 16:33:30 -0600 Subject: [PATCH] bug fixes --- Sources/App/Controllers/StatsController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/App/Controllers/StatsController.swift b/Sources/App/Controllers/StatsController.swift index 0dd3409..f77b2e9 100644 --- a/Sources/App/Controllers/StatsController.swift +++ b/Sources/App/Controllers/StatsController.swift @@ -786,7 +786,7 @@ struct StatsController: RouteCollection { group.enter() queue.async { - vgCompetitive = self.getStatsWithMostRecentDailyRecord(sortedMatches: matches.filter({ (match) -> Bool in + mw2Cometitive = self.getStatsWithMostRecentDailyRecord(sortedMatches: matches.filter({ (match) -> Bool in return match.codGame == "mw2" && self.shouldCountMatch(match: match ) }))