diff --git a/commands/games-sp/horse-race.js b/commands/games-sp/horse-race.js index 12193df8..e8f99c95 100644 --- a/commands/games-sp/horse-race.js +++ b/commands/games-sp/horse-race.js @@ -107,6 +107,6 @@ module.exports = class HorseRaceCommand extends Command { const min = Math.floor(time / 60); const sec = Math.floor(time - (min * 60)); const ms = time - sec - (min * 60); - return `${min}:${sec.padStart(2, '0')}.${ms.toFixed(4).slice(2)}`; + return `${min}:${sec.toString().padStart(2, '0')}.${ms.toFixed(4).slice(2)}`; } };