include today in seeding player history
All checks were successful
Deploy Backend / docker (ubuntu-latest) (push) Successful in 42s
All checks were successful
Deploy Backend / docker (ubuntu-latest) (push) Successful in 42s
This commit is contained in:
parent
4be0b072b2
commit
de3768559f
@ -93,7 +93,7 @@ export class PlayerService {
|
||||
});
|
||||
playerRankHistory.push(playerToken.rank);
|
||||
|
||||
let daysAgo = 1; // Start from yesterday
|
||||
let daysAgo = 0; // Start from today
|
||||
for (let i = playerRankHistory.length - daysAgo - 1; i >= 0; i--) {
|
||||
const rank = playerRankHistory[i];
|
||||
// Skip inactive days
|
||||
|
Reference in New Issue
Block a user