1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 14:17:26 +08:00

Add back cached ruleset assembly lookup

This commit is contained in:
Lucas A 2020-04-04 20:13:46 +02:00
parent 8cdae790c3
commit 0e45a4d54e

View File

@ -62,7 +62,7 @@ namespace osu.Game.Rulesets
if (asm.Name.Equals(typeof(OsuGame).Assembly.GetName().Name, StringComparison.Ordinal))
return Assembly.GetExecutingAssembly();
return null;
return loadedAssemblies.Keys.FirstOrDefault(a => a.FullName == asm.FullName);
}
private void addMissingRulesets()