Revert old value instead of always using default

Co-authored-by: cdwcgt <loginchen@outlook.com>
This commit is contained in:
Dean Herbert
2023-03-23 11:27:05 +09:00
committed by GitHub
parent 3050a16bf8
commit ab6cfea5c7

View File

@ -64,7 +64,7 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
dialogOverlay.Push(new ConfirmDialog(GraphicsSettingsStrings.ChangeRendererConfirmation, game.AttemptExit, () =>
{
renderer.SetDefault();
renderer.Value = r.OldValue;
}));
});
}