mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Fix backwards stable install resolution logic.
This commit is contained in:
@ -69,13 +69,13 @@ namespace osu.Game.Database
|
||||
|
||||
private async Task<StableStorage> getStableStorage()
|
||||
{
|
||||
var stableStorage = game.GetStorageForStableInstall();
|
||||
if (stableStorage != null)
|
||||
return stableStorage;
|
||||
|
||||
if (cachedStorage != null)
|
||||
return cachedStorage;
|
||||
|
||||
var stableStorage = game.GetStorageForStableInstall();
|
||||
if (stableStorage != null)
|
||||
return cachedStorage = stableStorage;
|
||||
|
||||
var taskCompletionSource = new TaskCompletionSource<string>(TaskCreationOptions.RunContinuationsAsynchronously);
|
||||
Schedule(() => dialogOverlay.Push(new StableDirectoryLocationDialog(taskCompletionSource)));
|
||||
var stablePath = await taskCompletionSource.Task.ConfigureAwait(false);
|
||||
|
Reference in New Issue
Block a user