From 234753b1976ddac0467306e40f97073a7acf853a Mon Sep 17 00:00:00 2001 From: Alex Belke Date: Sun, 25 Nov 2018 12:36:46 +0100 Subject: [PATCH] Fix server info tab --- src/game/client/components/menus_ingame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/client/components/menus_ingame.cpp b/src/game/client/components/menus_ingame.cpp index df4834036..4b0e6e6f8 100644 --- a/src/game/client/components/menus_ingame.cpp +++ b/src/game/client/components/menus_ingame.cpp @@ -342,7 +342,7 @@ void CMenus::RenderServerInfo(CUIRect MainView) ServerInfo.HSplitTop(ButtonHeight, &Label, &ServerInfo); Label.y += 2.0f; - str_format(aBuf, sizeof(aBuf), "%s: %s", Localize("Ping"), m_pClient->m_Snap.m_pLocalInfo->m_Latency); + str_format(aBuf, sizeof(aBuf), "%s: %d", Localize("Ping"), m_pClient->m_Snap.m_pLocalInfo->m_Latency); UI()->DoLabel(&Label, aBuf, ButtonHeight*ms_FontmodHeight*0.8f, CUI::ALIGN_LEFT); ServerInfo.HSplitTop(ButtonHeight, &Label, &ServerInfo);