mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 17:43:05 +08:00
Remove pointless constructor in RulesetInfo
This commit is contained in:
parent
cc0a8db76a
commit
714177cce1
@ -114,7 +114,7 @@ namespace osu.Game.Tests.Database
|
||||
}
|
||||
|
||||
protected static RulesetInfo CreateRuleset() =>
|
||||
new RulesetInfo(0, "osu!", "osu", true);
|
||||
new RulesetInfo("osu", "osu!", string.Empty, 0) { Available = true };
|
||||
|
||||
private class RealmTestGame : Framework.Game
|
||||
{
|
||||
|
@ -37,14 +37,6 @@ namespace osu.Game.Rulesets
|
||||
{
|
||||
}
|
||||
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user