1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-18 06:27:18 +08:00

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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}));
});
}