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:
parent
f3c174a7f2
commit
292486c25a
@ -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;
|
||||
}));
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user