mini game fixes

This commit is contained in:
phyzical
2022-03-25 23:39:14 +08:00
parent e69bb21b5c
commit a0d845ffae
8 changed files with 33 additions and 32 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ function generateLeftSide(difficulty: Difficulty): string {
}
const length = random(difficulty.min, difficulty.max);
for (let i = 0; i < length; i++) {
str += options[Math.floor(Math.random() * 4)];
str += options[Math.floor(Math.random() * options.length)];
}
return str;