mirror of https://github.com/ppy/osu
Reword comment and remove brackets
This commit is contained in:
parent
9cd0a182f6
commit
956112eb10
|
@ -31,12 +31,11 @@ public RulesetStore(IDatabaseContextFactory factory, Storage storage = null)
|
||||||
// We cannot read assemblies from cwd, so should check loaded assemblies instead.
|
// We cannot read assemblies from cwd, so should check loaded assemblies instead.
|
||||||
loadFromAppDomain();
|
loadFromAppDomain();
|
||||||
|
|
||||||
// This null check prevents Android from attempting to load the rulesets from disk.
|
// This null check prevents Android from attempting to load the rulesets from disk,
|
||||||
// RuntimeInfo.StartupDirectory returns null on Android, and returns a path on other platforms.
|
// as the underlying path "AppContext.BaseDirectory", despite being non-nullable, it returns null on android.
|
||||||
|
// See https://github.com/xamarin/xamarin-android/issues/3489.
|
||||||
if (RuntimeInfo.StartupDirectory != null)
|
if (RuntimeInfo.StartupDirectory != null)
|
||||||
{
|
|
||||||
loadFromDisk();
|
loadFromDisk();
|
||||||
}
|
|
||||||
|
|
||||||
// the event handler contains code for resolving dependency on the game assembly for rulesets located outside the base game directory.
|
// the event handler contains code for resolving dependency on the game assembly for rulesets located outside the base game directory.
|
||||||
// It needs to be attached to the assembly lookup event before the actual call to loadUserRulesets() else rulesets located out of the base game directory will fail
|
// It needs to be attached to the assembly lookup event before the actual call to loadUserRulesets() else rulesets located out of the base game directory will fail
|
||||||
|
|
Loading…
Reference in New Issue