1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 01:02:55 +08:00

Change data migration to do an immediate exit, rather than attempted exit

This commit is contained in:
Dean Herbert 2022-06-19 12:39:58 +09:00
parent 50e40756c4
commit 6515b249ec

View File

@ -56,7 +56,7 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance
dialogOverlay.Push(new ConfirmDialog("To complete this operation, osu! will close. Please open it again to use the new data location.", () =>
{
(storage as OsuStorage)?.ChangeDataPath(target.FullName);
game.AttemptExit();
game.Exit();
}, () => { }));
},
() => { }));