From 13b63978bfad483966c9daea522ca4e967240796 Mon Sep 17 00:00:00 2001 From: Sean Anderson Date: Thu, 22 Feb 2024 22:42:49 -0500 Subject: [PATCH] site: leaderboard: Fix assists and deaths being backwards The order is KDA, not KAD. Fixes: 1259b63 ("site: leaderboard: Add kda, *pm, and acc") Signed-off-by: Sean Anderson --- trends/site/templates/leaderboard.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trends/site/templates/leaderboard.html b/trends/site/templates/leaderboard.html index 71a3a43..3a2a8d2 100644 --- a/trends/site/templates/leaderboard.html +++ b/trends/site/templates/leaderboard.html @@ -62,8 +62,8 @@

Leaderboard

{{ "{:.2%}".format(player['winrate']) }} {{ "{:.3}".format(player['rating']) }} {{ optformat("{:.1f}", player.k30) }} - {{ optformat("{:.1f}", player.a30) }} {{ optformat("{:.1f}", player.d30) }} + {{ optformat("{:.1f}", player.a30) }} {{ optformat("{:.1f}", player.kad) }} {{ optformat("{:.1f}", player.kd) }} {{ optint(player.dpm) }}