File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export const getPlayerStats = async () => {
30
30
31
31
trainRating : data . puzzles_elo as number ,
32
32
trainCorrect : data . puzzles_correct as number ,
33
- trainGames : Math . max ( 0 , ( data . puzzles_played as number ) - 1 ) ,
33
+ trainGames : data . puzzles_played as number ,
34
34
trainMax : data . puzzles_elo_max as number ,
35
35
trainMin : data . puzzles_elo_min as number ,
36
36
trainHours : data . puzzle_game_time as number ,
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ import { GameControllerContext } from 'src/contexts/GameControllerContext/GameCo
45
45
const statsLoader = async ( ) => {
46
46
const stats = await getTrainingPlayerStats ( )
47
47
return {
48
- gamesPlayed : Math . max ( 0 , stats . totalPuzzles - 1 ) ,
48
+ gamesPlayed : Math . max ( 0 , stats . totalPuzzles ) ,
49
49
gamesWon : stats . puzzlesSolved ,
50
50
rating : stats . rating ,
51
51
}
You can’t perform that action at this time.
0 commit comments