Make horse races closer

This commit is contained in:
Dragon Fire
2020-04-21 20:01:48 -04:00
parent ff3720fa87
commit ae35350d9e
2 changed files with 39 additions and 39 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ module.exports = class HorseRaceCommand extends Command {
for (const horse of chosenHorses) {
results.push({
name: horse.name,
time: randomRange(horse.minTime, horse.minTime + 15) + Math.random()
time: randomRange(horse.minTime, horse.minTime + 5) + Math.random()
});
}
results = results.sort((a, b) => a.time - b.time);