Commit 50c2d3e9 authored by Dennis Willers's avatar Dennis Willers 🏀

Just go back to Overview, if Server tell this!

parent ef4a6047
Pipeline #332 passed with stages
in 5 minutes and 27 seconds
...@@ -97,7 +97,8 @@ export class GameComponent implements OnInit { ...@@ -97,7 +97,8 @@ export class GameComponent implements OnInit {
this.timePassed = this.timePassed += 1; this.timePassed = this.timePassed += 1;
this.timeLeft = (this.TIME_LIMIT - this.timePassed); this.timeLeft = (this.TIME_LIMIT - this.timePassed);
if (this.timeLeft === 0) { if (this.timeLeft === 0) {
this.onTimesUp(); console.log('Times up!');
//this.onTimesUp();
} }
}, 593); }, 593);
} }
......
...@@ -67,7 +67,8 @@ export class GuesserComponent implements OnInit { ...@@ -67,7 +67,8 @@ export class GuesserComponent implements OnInit {
this.timePassed = this.timePassed += 1; this.timePassed = this.timePassed += 1;
this.timeLeft = (this.TIME_LIMIT - this.timePassed); this.timeLeft = (this.TIME_LIMIT - this.timePassed);
if (this.timeLeft === 0) { if (this.timeLeft === 0) {
this.onTimesUp(); console.log('Times up!');
//this.onTimesUp();
} }
}, 593); }, 593);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment