Skip to content

Commit 99d304e

Browse files
committed
Fixed ghost pp values on the leaderboard
1 parent 5cabb8f commit 99d304e

File tree

1 file changed

+2
-1
lines changed
  • Source/2_Core/Models/API/BeatLeader

1 file changed

+2
-1
lines changed

Source/2_Core/Models/API/BeatLeader/Score.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ public class Score : IScoreRowContent, IReplayHashProvider {
2020
public int modifiedScore;
2121
public string modifiers;
2222
public float pp;
23+
public bool withPp;
2324
public float fcPp;
2425
public int experience;
2526
public int rank;
@@ -47,7 +48,7 @@ public bool ContainsValue(ScoreRowCellType cellType) {
4748
ScoreRowCellType.Username => true,
4849
ScoreRowCellType.Modifiers => true,
4950
ScoreRowCellType.Accuracy => true,
50-
ScoreRowCellType.PerformancePoints => pp > 0,
51+
ScoreRowCellType.PerformancePoints => withPp,
5152
ScoreRowCellType.Score => true,
5253
ScoreRowCellType.Mistakes => true,
5354
ScoreRowCellType.Clans => true,

0 commit comments

Comments
 (0)