Skip to content

Commit fa3367e

Browse files
committed
Set solve timestamp even in the case of a DNF
1 parent 87fdae1 commit fa3367e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ module.exports = function () {
214214
post_solving = true;
215215

216216
resetForNextSolve();
217-
218217
}
219218
}
220219

@@ -266,7 +265,7 @@ module.exports = function () {
266265
prepNewSolve();
267266
start_inspect += 3;
268267
last_solve = 'DNF';
269-
268+
last_solve_timestamp = (new Date()) - 0;
270269
});
271270

272271
stopwatch.on('time', function (time) {
@@ -290,6 +289,7 @@ module.exports = function () {
290289
var start_inspect = 0;
291290

292291
var last_solve = -1;
292+
var last_solve_timestamp = -1;
293293
var penalty = 0;
294294

295295
var right_row_num = 50;

0 commit comments

Comments
 (0)