aboutsummaryrefslogtreecommitdiff
path: root/backend/handlers/map.go
diff options
context:
space:
mode:
Diffstat (limited to 'backend/handlers/map.go')
-rw-r--r--backend/handlers/map.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/handlers/map.go b/backend/handlers/map.go
index faccee4..c0776d1 100644
--- a/backend/handlers/map.go
+++ b/backend/handlers/map.go
@@ -228,6 +228,7 @@ func FetchMapLeaderboards(c *gin.Context) {
228 ties++ 228 ties++
229 record.Placement = placement - ties 229 record.Placement = placement - ties
230 } else { 230 } else {
231 ties = 0
231 record.Placement = placement 232 record.Placement = placement
232 } 233 }
233 records = append(records, record) 234 records = append(records, record)
@@ -278,6 +279,7 @@ func FetchMapLeaderboards(c *gin.Context) {
278 ties++ 279 ties++
279 record.Placement = placement - ties 280 record.Placement = placement - ties
280 } else { 281 } else {
282 ties = 0
281 record.Placement = placement 283 record.Placement = placement
282 } 284 }
283 records = append(records, record) 285 records = append(records, record)