Correction d'un bug avec le chronomètre

This commit is contained in:
JonathanMM 2025-04-22 08:17:00 +02:00
commit 9c8e3718f1

View file

@ -151,7 +151,7 @@ export default class Gestionnaire {
if (this._config.afficherChrono) {
let statsTemps = this._stats.temps;
if (statsTemps === null) {
if (!statsTemps || statsTemps === null) {
statsTemps = { moyenne: duree, nbParties: 1 };
} else {
statsTemps = {