Fix "platinums" command time differences

They never accounted for differences above 1 minute.
This commit is contained in:
RypoFalem 2025-09-16 22:41:51 -05:00
parent 67b72a1c44
commit ddee1675a1

View file

@ -9550,8 +9550,10 @@ void Command_Platinums(void)
}
else
{
CONS_Printf(", %s (+%d:%02d)", stafftime.second.c_str(),
G_TicsToSeconds(stafftime.first - platinumtime), G_TicsToCentiseconds(stafftime.first - platinumtime));
CONS_Printf(", %s (+%d:%02d:%02d)", stafftime.second.c_str(),
G_TicsToMinutes(stafftime.first - platinumtime, true),
G_TicsToSeconds(stafftime.first - platinumtime),
G_TicsToCentiseconds(stafftime.first - platinumtime));
}
names[stafftime.second]++;