Closed NaughtyChas closed 3 months ago
The displayed global rank does not match current value:
on website | in tourney (board scene) | rank 2 days ago |
---|---|---|
The value only matches the rank 2-5 days ago.
Layout and code defined at osu.Game.Tournament/Components/TeamPlayerCard.cs
, at line 81-107, on branch derived/tboard_ntcsAppend
:
We use teamPlayer?.Statistics.GlobalRank
to gather rank, which the value is incorrect.
Same for PP, at at line 81-107, we use teamPlayer?.Statistics.PP
which return nothing.
To see its original effect on rank + PP display, head into Team Editor section, defined at line 52-62 in file osu.Game/Users/UserListPanel.cs
:
string performance = User.Statistics?.PP?.ToString("N0") ?? "-";
is used to assign PP value gathered into performance
. As no value is being gathered, -
is always being displayed on the panel:
Help wanted, as we are wondering if we have used the wrong API, or other parts of the code went wrong. Pinging for @cdwcgt for help.
Resolved by @cdwcgt in commit 6d9fe12 on branch derived/tboard_cdwcgtAppend
:
Huge thanks from the team!
Found in the development process of issue #14 .