File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1152,12 +1152,6 @@ export async function finish(difficultyFailed = false): Promise<void> {
11521152 dontSave ,
11531153 ) ;
11541154
1155- if ( completedEvent . testDuration > 122 ) {
1156- completedEvent . chartData = "toolong" ;
1157- completedEvent . keySpacing = "toolong" ;
1158- completedEvent . keyDuration = "toolong" ;
1159- }
1160-
11611155 if ( dontSave ) {
11621156 void AnalyticsController . log ( "testCompletedInvalid" ) ;
11631157 return ;
@@ -1175,6 +1169,12 @@ export async function finish(difficultyFailed = false): Promise<void> {
11751169
11761170 completedEvent . uid = user . uid ;
11771171
1172+ if ( completedEvent . testDuration > 122 ) {
1173+ completedEvent . chartData = "toolong" ;
1174+ completedEvent . keySpacing = "toolong" ;
1175+ completedEvent . keyDuration = "toolong" ;
1176+ }
1177+
11781178 if ( ! completedEvent . bailedOut ) {
11791179 const challenge = ChallengeContoller . verify ( completedEvent ) ;
11801180 if ( challenge !== null ) completedEvent . challenge = challenge ;
You can’t perform that action at this time.
0 commit comments