mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
commit
bbf7a73094
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue