From a49cc50d9513305837f1e8a6b090870ff4a25a59 Mon Sep 17 00:00:00 2001 From: Pisces000221 <1786762946@qq.com> Date: Fri, 3 Nov 2017 21:19:49 +0800 Subject: [PATCH] Wat --- views/contest_ranklist.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/contest_ranklist.ejs b/views/contest_ranklist.ejs index a07877d..a0841b7 100644 --- a/views/contest_ranklist.ejs +++ b/views/contest_ranklist.ejs @@ -122,9 +122,9 @@ <% } else if (contest.type === 'noi' || contest.type === 'ioi') { %> - <% if (item.player.score != null) { %> + <% if (item.player.score_details[problem.id].score != null) { %> - <%= Math.round(item.player.score) %> + <%= Math.round(item.player.score_details[problem.id].score) %> <% } else { %>