Fix Team Arena server refresh time format

Make minute less than 10 have a leading 0. Change '7:1' to '7:01'.
This commit is contained in:
Zack Middleton 2017-11-10 20:05:51 -06:00
parent e8450cae33
commit 471ea9e564
1 changed files with 1 additions and 1 deletions

View File

@ -6021,7 +6021,7 @@ static void UI_StartServerRefresh(qboolean full, qboolean force)
}
trap_RealTime(&q);
trap_Cvar_Set( va("ui_lastServerRefresh_%i", ui_netSource.integer), va("%s-%i, %i at %i:%i", MonthAbbrev[q.tm_mon],q.tm_mday, 1900+q.tm_year,q.tm_hour,q.tm_min));
trap_Cvar_Set( va("ui_lastServerRefresh_%i", ui_netSource.integer), va("%s-%i, %i at %i:%02i", MonthAbbrev[q.tm_mon],q.tm_mday, 1900+q.tm_year,q.tm_hour,q.tm_min));
if (!full) {
UI_UpdatePendingPings();