Remove Empty() implementation for RoomSettings until otherwise necessary

This commit is contained in:
Dean Herbert 2020-12-09 12:12:03 +09:00
parent 1013749a83
commit 0eb5b16454
2 changed files with 1 additions and 3 deletions

View File

@ -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.

View File

@ -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();
}
}