mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix best time in scoreboard
This commit is contained in:
parent
38dbcbe776
commit
93a3fecea8
|
@ -230,7 +230,7 @@ void CScoreboard::RenderScoreboard(float x, float y, float w, int Team, const ch
|
|||
{
|
||||
if (m_ServerRecord > 0)
|
||||
{
|
||||
str_format(aBuf, sizeof(aBuf), "%02d:%02d", round(m_ServerRecord)/60, round(m_ServerRecord)%60);
|
||||
str_format(aBuf, sizeof(aBuf), "%02d:%02d", ((int) m_ServerRecord)/60, ((int) m_ServerRecord)%60);
|
||||
}
|
||||
else
|
||||
aBuf[0] = 0;
|
||||
|
|
Loading…
Reference in a new issue