1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +08:00

Fix incorrect assignment

This commit is contained in:
Dean Herbert 2020-05-13 18:55:06 +09:00
parent e9e03d038d
commit c048d9b6ae

View File

@ -31,7 +31,7 @@ namespace osu.Game.Graphics.UserInterfaceV2
public DirectorySelector(string initialPath = null)
{
currentDirectory.Value = new DirectoryInfo(initialPath ??= Environment.GetFolderPath(Environment.SpecialFolder.UserProfile));
currentDirectory.Value = new DirectoryInfo(initialPath ?? Environment.GetFolderPath(Environment.SpecialFolder.UserProfile));
}
[BackgroundDependencyLoader]