mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 03:22:55 +08:00
Update MultiplayerModSelectOverlay.cs
This commit is contained in:
parent
a6b63efe7d
commit
24171bd02b
@ -51,7 +51,7 @@ namespace osu.Game.Overlays.Mods
|
||||
|
||||
RankingInformationDisplay.Ranked.Value = SelectedMods.Value.All(m => m.Ranked);
|
||||
|
||||
if (multiplayerRoomItem != null && multiplayerRoomItem.Value != null)
|
||||
if (multiplayerRoomItem?.Value != null)
|
||||
{
|
||||
Ruleset ruleset = game.Ruleset.Value.CreateInstance();
|
||||
var multiplayerRoomMods = multiplayerRoomItem.Value.RequiredMods.Select(m => m.ToMod(ruleset));
|
||||
@ -68,11 +68,6 @@ namespace osu.Game.Overlays.Mods
|
||||
|
||||
public partial class MultiplayerBeatmapAttributesDisplay : BeatmapAttributesDisplay
|
||||
{
|
||||
public MultiplayerBeatmapAttributesDisplay()
|
||||
: base()
|
||||
{
|
||||
}
|
||||
|
||||
[Resolved(CanBeNull = true)]
|
||||
private IBindable<PlaylistItem>? multiplayerRoomItem { get; set; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user