From a75e4248d2d486459d2f039290248e805f59225b Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 4 Apr 2024 23:27:48 -0400 Subject: [PATCH] Fix --- commands/voice/morse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/voice/morse.js b/commands/voice/morse.js index c2c8859c..1ced5fc3 100644 --- a/commands/voice/morse.js +++ b/commands/voice/morse.js @@ -73,7 +73,7 @@ module.exports = class MorseCommand extends Command { } else if (c === '-') { for (let i = 0; i < dashSamples; i++) { const libIndex = this.library[44 + dotSamples + i]; - data[(currentIndex * dashSamples) + i] = libIndex; + data[(currentIndex * dotSamples) + i] = libIndex; } currentIndex += 3; } else if (c === ' ' && processedScript[cIndex + 1] === ' ') {