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
This commit is contained in:
def 2023-01-02 12:28:42 +01:00
parent f0d2b9ab69
commit 2a48533aa5

View file

@ -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);