mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
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:
parent
f0d2b9ab69
commit
2a48533aa5
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue