From fce1e87a6326aad6a900305f11e1c497b0bd4a93 Mon Sep 17 00:00:00 2001 From: depreciate Date: Sun, 24 Feb 2019 04:11:57 +1030 Subject: [PATCH] d --- static/profile.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/static/profile.js b/static/profile.js index 6e2f340..8a2e231 100644 --- a/static/profile.js +++ b/static/profile.js @@ -227,7 +227,12 @@ function loadScoresPage(type, mode) { } r.scores.forEach(function(v, idx){ scoreStore[v.id] = v; - var scoreRank = getRank(mode, v.mods, v.accuracy, v.count_300, v.count_100, v.count_50, v.count_miss); + if (v.completed == 0){ + var scoreRank = "failed"; + }else{ + var scoreRank = getRank(mode, v.mods, v.accuracy, v.count_300, v.count_100, v.count_50, v.count_miss); + } + table.append($("").append( $( "" + scoreRank + " " +