Prevent overflow of minutes

This commit is contained in:
Lonsfor 2022-04-30 21:00:55 +02:00
parent 41b152ccf6
commit e3c870eefd

View File

@ -661,7 +661,7 @@ function ticsToTime(tics, pure)
return string.format(
"%d:%02d:%02d",
G_TicsToMinutes(tics),
G_TicsToMinutes(tics, true),
G_TicsToSeconds(tics),
G_TicsToCentiseconds(tics)
)