From e1448bebc78dd709579bdb625dbd935f8a1ea5c1 Mon Sep 17 00:00:00 2001 From: heinrich5991 Date: Thu, 11 Feb 2021 23:33:50 +0100 Subject: [PATCH] Fix top time not being displayed on old servers Fix #3599. (Forgot to check for both NETMSG_RECORD and NETMSG_RECORDLEGACY in one place.) --- src/game/client/components/scoreboard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/client/components/scoreboard.cpp b/src/game/client/components/scoreboard.cpp index bc607f6ad..19840313a 100644 --- a/src/game/client/components/scoreboard.cpp +++ b/src/game/client/components/scoreboard.cpp @@ -46,7 +46,7 @@ void CScoreboard::OnRelease() void CScoreboard::OnMessage(int MsgType, void *pRawMsg) { - if(MsgType == NETMSGTYPE_SV_RECORD) + if(MsgType == NETMSGTYPE_SV_RECORD || MsgType == NETMSGTYPE_SV_RECORDLEGACY) { CNetMsg_Sv_Record *pMsg = (CNetMsg_Sv_Record *)pRawMsg; m_ServerRecord = (float)pMsg->m_ServerTimeBest / 100;