Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
magnetenstad committed Oct 16, 2023
1 parent 5f9fed4 commit dbb0b95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/games/rtc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const getRtcController = (game: Game): RtcController => {

getUserResultText(userId) {
const name = useUsersStore().getUser(userId)?.name ?? 'Unknown'
const visits = getVisitsOfUser(game, userId, false)
const visits = getVisitsOfUser(game, userId)
return `${name}, ${visits?.length} visits`
},

Expand Down
2 changes: 1 addition & 1 deletion src/games/x01.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const getX01Controller = (game: Game): GameController => {

getUserResultText(userId) {
const name = useUsersStore().getUser(userId)?.name ?? 'Unknown'
const visits = getVisitsOfUser(game, userId, false)
const visits = getVisitsOfUser(game, userId)
const avg = getAvgVisitScore(
game.legs.find((leg) => leg.userId == userId)?.visits ?? [],
game,
Expand Down

0 comments on commit dbb0b95

Please sign in to comment.