From 2a48533aa5938604cf6b05f18abb2c60bbf249ce Mon Sep 17 00:00:00 2001 From: def Date: Mon, 2 Jan 2023 12:28:42 +0100 Subject: [PATCH] Follow-up fix to scoreboard showing wrong best time Forgot the call in constructor in https://github.com/ddnet/ddnet/pull/6213/ Thus best time was not displayed initially. Thanks to spur for report --- src/game/server/score.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/server/score.cpp b/src/game/server/score.cpp index e5faa08de..77988a43c 100644 --- a/src/game/server/score.cpp +++ b/src/game/server/score.cpp @@ -73,6 +73,8 @@ CScore::CScore(CGameContext *pGameServer, CDbConnectionPool *pPool) : m_pGameServer(pGameServer), m_pServer(pGameServer->Server()) { + LoadBestTime(); + uint64_t aSeed[2]; secure_random_fill(aSeed, sizeof(aSeed)); m_Prng.Seed(aSeed);