mirror of
https://github.com/ppy/osu
synced 2025-02-17 02:47:19 +00:00
Bring back initial directory behaviour
This commit is contained in:
parent
eb92c3390d
commit
51bbd91373
@ -36,7 +36,8 @@ namespace osu.Game.Tournament.Screens
|
|||||||
[BackgroundDependencyLoader(true)]
|
[BackgroundDependencyLoader(true)]
|
||||||
private void load(Storage storage, OsuColour colours)
|
private void load(Storage storage, OsuColour colours)
|
||||||
{
|
{
|
||||||
var initialPath = new DirectoryInfo(storage.GetFullPath(string.Empty)).Parent?.FullName;
|
var initialStorage = (ipc as FileBasedIPC)?.IPCStorage ?? storage;
|
||||||
|
var initialPath = new DirectoryInfo(initialStorage.GetFullPath(string.Empty)).Parent?.FullName;
|
||||||
|
|
||||||
AddRangeInternal(new Drawable[]
|
AddRangeInternal(new Drawable[]
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user