mirror of
https://github.com/ppy/osu.git
synced 2024-12-26 15:32:56 +08:00
f06f13215b
The previous version tried to keep both normal multiplayer and team multiplayer results as one screen, but didn't check that team-specific components aren't null in `LoadComplete()`. To decrease number of conditional, split off the team results screen to a separate implementation, and choose one or the other at push time in `MultiplayerPlayer`, depending on team count.
18 lines
561 B
C#
18 lines
561 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using osu.Game.Online.Rooms;
|
|
using osu.Game.Scoring;
|
|
using osu.Game.Screens.OnlinePlay.Playlists;
|
|
|
|
namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
|
{
|
|
public class MultiplayerResultsScreen : PlaylistsResultsScreen
|
|
{
|
|
public MultiplayerResultsScreen(ScoreInfo score, long roomId, PlaylistItem playlistItem)
|
|
: base(score, roomId, playlistItem, false, false)
|
|
{
|
|
}
|
|
}
|
|
}
|