mirror of https://github.com/ppy/osu
Merge pull request #15770 from peppy/fix-incorrect-id-usage-in-tests
Fix incorrect usage of `ID` in `TestSceneMultiplayerResults`
This commit is contained in:
commit
cf17c51df2
|
@ -39,7 +39,7 @@ public void TestDisplayResults()
|
|||
|
||||
PlaylistItem playlistItem = new PlaylistItem
|
||||
{
|
||||
BeatmapID = beatmapInfo.ID,
|
||||
BeatmapID = beatmapInfo.OnlineID ?? -1,
|
||||
};
|
||||
|
||||
Stack.Push(screen = new MultiplayerResultsScreen(score, 1, playlistItem));
|
||||
|
|
|
@ -43,7 +43,7 @@ public void TestDisplayTeamResults(int team1Score, int team2Score)
|
|||
|
||||
PlaylistItem playlistItem = new PlaylistItem
|
||||
{
|
||||
BeatmapID = beatmapInfo.ID,
|
||||
BeatmapID = beatmapInfo.OnlineID ?? -1,
|
||||
};
|
||||
|
||||
SortedDictionary<int, BindableInt> teamScores = new SortedDictionary<int, BindableInt>
|
||||
|
|
Loading…
Reference in New Issue