mirror of
https://github.com/ppy/osu
synced 2025-02-17 10:57:03 +00:00
Remove Empty() implementation for RoomSettings until otherwise necessary
This commit is contained in:
parent
1013749a83
commit
0eb5b16454
@ -27,7 +27,7 @@ namespace osu.Game.Online.RealtimeMultiplayer
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// All currently enforced game settings for this room.
|
/// All currently enforced game settings for this room.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public MultiplayerRoomSettings Settings { get; set; } = MultiplayerRoomSettings.Empty();
|
public MultiplayerRoomSettings Settings { get; set; } = new MultiplayerRoomSettings();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// All users currently in this room.
|
/// All users currently in this room.
|
||||||
|
@ -24,7 +24,5 @@ namespace osu.Game.Online.RealtimeMultiplayer
|
|||||||
public bool Equals(MultiplayerRoomSettings other) => BeatmapID == other.BeatmapID && Mods.SequenceEqual(other.Mods) && RulesetID == other.RulesetID;
|
public bool Equals(MultiplayerRoomSettings other) => BeatmapID == other.BeatmapID && Mods.SequenceEqual(other.Mods) && RulesetID == other.RulesetID;
|
||||||
|
|
||||||
public override string ToString() => $"Beatmap:{BeatmapID} Mods:{string.Join(',', Mods)} Ruleset:{RulesetID}";
|
public override string ToString() => $"Beatmap:{BeatmapID} Mods:{string.Join(',', Mods)} Ruleset:{RulesetID}";
|
||||||
|
|
||||||
public static MultiplayerRoomSettings Empty() => new MultiplayerRoomSettings();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user