fixed bug with dom map records

This commit is contained in:
Michael Simard
2021-08-12 11:56:52 -05:00
parent af24586da3
commit 20f91e25db

View File

@@ -906,7 +906,7 @@ struct StatsController: RouteCollection {
.filter{$0.competitive == competitive}
.filter{$0.codGame == game}
.filter{
if gameMode > 0 {
if gameMode >= 0 {
return $0.gameMode == gameMode
}
else if gameMode == -2 { // -2 is all for now