mirror of
https://github.com/ppy/osu
synced 2025-01-02 04:12:13 +00:00
remove from rulesetinfo
This commit is contained in:
parent
5940851519
commit
71a3db7cd6
@ -59,7 +59,6 @@ namespace osu.Game.Rulesets
|
||||
ID = (this as ILegacyRuleset)?.LegacyID,
|
||||
InstantiationInfo = GetType().AssemblyQualifiedName,
|
||||
Available = true,
|
||||
PlayingVerb = PlayingVerb,
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
@ -18,9 +17,6 @@ namespace osu.Game.Rulesets
|
||||
|
||||
public string InstantiationInfo { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public string PlayingVerb { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public bool Available { get; set; }
|
||||
|
||||
|
@ -92,7 +92,6 @@ namespace osu.Game.Rulesets
|
||||
r.Name = instanceInfo.Name;
|
||||
r.ShortName = instanceInfo.ShortName;
|
||||
r.InstantiationInfo = instanceInfo.InstantiationInfo;
|
||||
r.PlayingVerb = instanceInfo.PlayingVerb;
|
||||
|
||||
r.Available = true;
|
||||
}
|
||||
|
@ -52,7 +52,7 @@ namespace osu.Game.Users
|
||||
Ruleset = ruleset;
|
||||
}
|
||||
|
||||
public override string Status => Ruleset.PlayingVerb;
|
||||
public override string Status => Beatmap.Ruleset.CreateInstance().PlayingVerb;
|
||||
}
|
||||
|
||||
public class Spectating : UserActivity
|
||||
|
Loading…
Reference in New Issue
Block a user