Remove pointless constructor in `RulesetInfo`

This commit is contained in:
Dean Herbert 2022-01-27 15:23:16 +09:00
parent cc0a8db76a
commit 714177cce1
2 changed files with 1 additions and 9 deletions

View File

@ -114,7 +114,7 @@ protected static BeatmapSetInfo CreateBeatmapSet(RulesetInfo ruleset)
}
protected static RulesetInfo CreateRuleset() =>
new RulesetInfo(0, "osu!", "osu", true);
new RulesetInfo("osu", "osu!", string.Empty, 0) { Available = true };
private class RealmTestGame : Framework.Game
{

View File

@ -37,14 +37,6 @@ public RulesetInfo()
{
}
public RulesetInfo(int? onlineID, string name, string shortName, bool available)
{
OnlineID = onlineID ?? -1;
Name = name;
ShortName = shortName;
Available = available;
}
public bool Available { get; set; }
public bool Equals(RulesetInfo? other)