added plus to code punctuation

This commit is contained in:
Miodec 2021-06-11 18:08:45 +01:00
parent 944ad75b7b
commit c86e3f64f6

View file

@ -313,7 +313,7 @@ export function punctuateWord(previousWord, currentWord, index, maxindex) {
Math.random() < 0.25 &&
Config.language.split("_")[0] == "code"
) {
let specials = ["{", "}", "[", "]", "(", ")", ";", "=", "%", "/"];
let specials = ["{", "}", "[", "]", "(", ")", ";", "=", "+", "%", "/"];
word = specials[Math.floor(Math.random() * 10)];
}