From 3da6e1e3342e01ef3f82e029fce20cf23cacb787 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 31 Oct 2020 11:15:24 -0400 Subject: [PATCH] Fix --- commands/games-sp/hearing-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/games-sp/hearing-test.js b/commands/games-sp/hearing-test.js index 9541724e..619f3e77 100644 --- a/commands/games-sp/hearing-test.js +++ b/commands/games-sp/hearing-test.js @@ -38,10 +38,10 @@ module.exports = class HearingTestCommand extends Command { let age; for (const { age: dataAge, file } of data) { connection.play(path.join(__dirname, '..', '..', 'assets', 'sounds', 'hearing-test', file)); - await delay(4000); + await delay(3500); await msg.reply('Did you hear that sound? Reply with [y]es or [n]o.'); const heard = await verify(msg.channel, msg.author); - if (!heard) { + if (!heard || file === data[data.length - 1].file) { age = dataAge; break; }