Skip to content

Commit

Permalink
Make UI training rounds start at 1 rather than 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Vignoud authored and Julien Vignoud committed Feb 13, 2024
1 parent 4d25172 commit c3c62b3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions discojs/discojs-core/src/informant/training_informant/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ export abstract class Base {
return this.messages.toArray()
}

round (): number {
return this.currentRound
round(): number {

Check failure on line 38 in discojs/discojs-core/src/informant/training_informant/base.ts

View workflow job for this annotation

GitHub Actions / lint-lib-core

Missing space before function parentheses
// + 1 because rounds start at 0
return this.currentRound + 1
}

participants (): number {
Expand Down

0 comments on commit c3c62b3

Please sign in to comment.