mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 13:27:49 +08:00
fixed plus funboxes showing too many words sometimes. closes #2174
This commit is contained in:
parent
5050904352
commit
1e25d3900c
1 changed files with 6 additions and 0 deletions
|
@ -796,9 +796,15 @@ export async function init() {
|
|||
}
|
||||
if (Config.funbox === "plus_one") {
|
||||
wordsBound = 2;
|
||||
if (Config.mode === "words" && Config.words < wordsBound) {
|
||||
wordsBound = Config.words;
|
||||
}
|
||||
}
|
||||
if (Config.funbox === "plus_two") {
|
||||
wordsBound = 3;
|
||||
if (Config.mode === "words" && Config.words < wordsBound) {
|
||||
wordsBound = Config.words;
|
||||
}
|
||||
}
|
||||
|
||||
if (
|
||||
|
|
Loading…
Reference in a new issue