From dbb3cff4962e0d6f1a678c896d370920a77721c6 Mon Sep 17 00:00:00 2001
From: "frederick.ney" <frederick.ney@gmail.com>
Date: Wed, 18 Apr 2018 18:55:16 +0200
Subject: [PATCH] updating users' stats

---
 sources/angular/myapp/src/app/game/game.component.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sources/angular/myapp/src/app/game/game.component.ts b/sources/angular/myapp/src/app/game/game.component.ts
index 9f8f8df..961f774 100644
--- a/sources/angular/myapp/src/app/game/game.component.ts
+++ b/sources/angular/myapp/src/app/game/game.component.ts
@@ -103,6 +103,7 @@ export class GameComponent implements OnInit {
                 this.startCountdown = this.countdown;
             } else if (this.stateGame === EnumStateGame.start && this.countdown === 0) {
                 this.stateGame = EnumStateGame.end;
+                this.updateUserStats();
             }
         });
     }
-- 
GitLab