Skip to content

Commit 9346383

Browse files
committed
fixed results not including spaces
1 parent 368b8f5 commit 9346383

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/js/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ function showResult(difficultyFailed = false) {
523523
}else{
524524
let completedEvent = {
525525
wpm: stats.wpm,
526-
correctChars: stats.correctChars,
526+
correctChars: stats.correctChars + stats.spaces,
527527
incorrectChars: stats.incorrectChars,
528528
acc: stats.acc,
529529
mode: config.mode,

0 commit comments

Comments
 (0)