Skip to content

Commit

Permalink
Merge pull request ThePrimeagen#64 from FL3SH/tmp-fix-ci
Browse files Browse the repository at this point in the history
Lint fix
  • Loading branch information
ThePrimeagen authored Jun 18, 2020
2 parents cc0d3eb + 1946108 commit 6be335b
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions src/game/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,15 @@ export class Game implements IGame {
}

public nextRoundNumber() {
if (this.difficulty === GameDifficulty.Noob) {
console.log("base - incrementRoundNumber - noob");
return 1;
} else {
console.log("base - incrementRoundNumber - ", this.state.currentCount);
return this.state.currentCount + 1;
}
}
if (this.difficulty === GameDifficulty.Noob) {
console.log("base - incrementRoundNumber - noob");
return 1;
} else {
console.log(
"base - incrementRoundNumber - ",
this.state.currentCount,
);
return this.state.currentCount + 1;
}
}
}

0 comments on commit 6be335b

Please sign in to comment.