blockself issue

This commit is contained in:
Michael Simard
2021-01-18 08:35:40 -06:00
parent 5f6d96137b
commit a6ddb534da
2 changed files with 4 additions and 4 deletions

View File

@@ -494,14 +494,14 @@ struct StatsController: RouteCollection {
group.enter()
queue.async {
mwFourPlayers = getStatsByPlayerCount(matches: matches, playerCount: 4)
mwFourPlayers = self.getStatsByPlayerCount(matches: matches, playerCount: 4)
group.leave()
}
group.enter()
queue.async {
mwFivePlayers = getStatsByPlayerCount(matches: matches, playerCount: 5)
mwFivePlayers = self.getStatsByPlayerCount(matches: matches, playerCount: 5)
group.leave()
}
@@ -509,7 +509,7 @@ struct StatsController: RouteCollection {
group.enter()
queue.async {
mwSixPlayers = getStatsByPlayerCount(matches: matches, playerCount: 6)
mwSixPlayers = self.getStatsByPlayerCount(matches: matches, playerCount: 6)
group.leave()
}