1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 10:42:54 +08:00

Revert unintended change

This commit is contained in:
iiSaLMaN 2019-08-04 19:17:45 +03:00
parent ca7a812e1c
commit 472af16015

View File

@ -44,7 +44,6 @@ namespace osu.Game.Tests.Visual.Gameplay
public void SetUp()
{
leaderboard.ClearScores();
leaderboard.PlayerPosition = 1;
playerScore.Value = 1222333;
}
@ -75,11 +74,6 @@ namespace osu.Game.Tests.Visual.Gameplay
private class TestInGameLeaderboard : InGameLeaderboard
{
public void ClearScores() => ScoresContainer.RemoveAll(s => s.User.Username != PlayerUser.Username);
public int? PlayerPosition
{
get => PlayerScoreItem.ScorePosition;
set => PlayerScoreItem.ScorePosition = value;
}
public bool CheckPositionByUsername(string username, int? estimatedPosition)
{