File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -580,8 +580,6 @@ function handleChar(
580580 }
581581
582582 if ( ! thisCharCorrect && Config . difficulty == "master" ) {
583- TestInput . input . pushHistory ( ) ;
584- TestInput . corrected . pushHistory ( ) ;
585583 TestLogic . fail ( "difficulty" ) ;
586584 return ;
587585 }
@@ -599,8 +597,6 @@ function handleChar(
599597 Config . stopOnError == "off" ) ) &&
600598 lastIndex === TestWords . words . length - 1
601599 ) {
602- TestInput . input . pushHistory ( ) ;
603- TestInput . corrected . pushHistory ( ) ;
604600 TestLogic . finish ( ) ;
605601 return ;
606602 }
Original file line number Diff line number Diff line change @@ -1465,7 +1465,7 @@ function buildCompletedEvent(difficultyFailed: boolean): CompletedEvent {
14651465
14661466export async function finish ( difficultyFailed = false ) : Promise < void > {
14671467 if ( ! TestActive . get ( ) ) return ;
1468- if ( Config . mode == "zen" && TestInput . input . current . length != 0 ) {
1468+ if ( TestInput . input . current . length != 0 ) {
14691469 TestInput . input . pushHistory ( ) ;
14701470 TestInput . corrected . pushHistory ( ) ;
14711471 Replay . replayGetWordsList ( TestInput . input . history ) ;
You can’t perform that action at this time.
0 commit comments