1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-07 17:27:25 +08:00

Use more resilient restore method

This commit is contained in:
Bartłomiej Dach 2023-03-26 14:35:00 +02:00
parent f3c174a7f2
commit 292486c25a
No known key found for this signature in database

View File

@ -69,7 +69,7 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
dialogOverlay?.Push(new ConfirmDialog(GraphicsSettingsStrings.ChangeRendererConfirmation, () => game?.AttemptExit(), () =>
{
renderer.Value = r.OldValue;
renderer.Value = automaticRendererInUse ? RendererType.Automatic : host.ResolvedRenderer;
}));
});