mirror of https://github.com/ppy/osu
Remove Empty() implementation for RoomSettings until otherwise necessary
This commit is contained in:
parent
1013749a83
commit
0eb5b16454
|
@ -27,7 +27,7 @@ public class MultiplayerRoom
|
|||
/// <summary>
|
||||
/// All currently enforced game settings for this room.
|
||||
/// </summary>
|
||||
public MultiplayerRoomSettings Settings { get; set; } = MultiplayerRoomSettings.Empty();
|
||||
public MultiplayerRoomSettings Settings { get; set; } = new MultiplayerRoomSettings();
|
||||
|
||||
/// <summary>
|
||||
/// All users currently in this room.
|
||||
|
|
|
@ -24,7 +24,5 @@ public class MultiplayerRoomSettings : IEquatable<MultiplayerRoomSettings>
|
|||
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 static MultiplayerRoomSettings Empty() => new MultiplayerRoomSettings();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue