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:
parent
8cdae790c3
commit
0e45a4d54e
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user