mirror of
https://github.com/ppy/osu
synced 2025-01-11 08:39:31 +00:00
Fix mania maps not being treated as mania maps in release builds
This commit is contained in:
parent
663778b2f6
commit
b1a3f01212
@ -84,10 +84,11 @@ namespace osu.Game.Rulesets
|
||||
{
|
||||
try
|
||||
{
|
||||
var instance = r.CreateInstance();
|
||||
var instanceInfo = ((Ruleset)Activator.CreateInstance(Type.GetType(r.InstantiationInfo), (RulesetInfo)null)).RulesetInfo;
|
||||
|
||||
r.Name = instance.Description;
|
||||
r.ShortName = instance.ShortName;
|
||||
r.Name = instanceInfo.Name;
|
||||
r.ShortName = instanceInfo.ShortName;
|
||||
r.InstantiationInfo = instanceInfo.InstantiationInfo;
|
||||
|
||||
r.Available = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user