mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-22 00:06:16 +08:00
fixed a bug where the crown would always be shown
This commit is contained in:
parent
38f4064e05
commit
83fef1ec6c
|
@ -531,7 +531,8 @@ function showResult(difficultyFailed = false) {
|
|||
punctuation: config.punctuation,
|
||||
timestamp: Date.now(),
|
||||
language: config.language,
|
||||
restartCount: restartCount
|
||||
restartCount: restartCount,
|
||||
difficulty: config.difficulty
|
||||
};
|
||||
restartCount = 0;
|
||||
if (stats.wpm > 0 && stats.wpm < 350 && stats.acc > 50 && stats.acc <= 100) {
|
||||
|
|
Loading…
Reference in a new issue