Skip to content

Commit

Permalink
Fix issue #11
Browse files Browse the repository at this point in the history
  • Loading branch information
ImperialOctopus committed May 20, 2019
1 parent 3b92c18 commit 769d79b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/play/play.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ export class PlayComponent implements OnInit {
this.wordVisible = false;
}
numberDown() {
if (this.thisPlayer > 0) {
if (this.thisPlayer > 1) {
this.thisPlayer -= 1;
} else if (this.thisPlayer === 0) {
} else if (this.thisPlayer === 1) {
this.thisPlayer = this.totalPlayers;
}
this.wordVisible = false;
Expand Down

0 comments on commit 769d79b

Please sign in to comment.