setting config to array instead

This commit is contained in:
Miodec 2023-04-26 22:17:01 +02:00
parent 1ebd90c7d0
commit 9ca996aa24

View file

@ -1086,7 +1086,10 @@ export function setQuoteLength(
len = 1;
}
len = parseInt(len.toString()) as MonkeyTypes.QuoteLength;
if (multipleMode) {
if (len === -1) {
config.quoteLength = [0, 1, 2, 3];
} else if (multipleMode && len >= 0) {
if (!config.quoteLength.includes(len)) {
config.quoteLength.push(len);
} else {