mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 09:37:23 +08:00
Revert old value instead of always using default
Co-authored-by: cdwcgt <loginchen@outlook.com>
This commit is contained in:
parent
3050a16bf8
commit
ab6cfea5c7
@ -64,7 +64,7 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
|
|||||||
|
|
||||||
dialogOverlay.Push(new ConfirmDialog(GraphicsSettingsStrings.ChangeRendererConfirmation, game.AttemptExit, () =>
|
dialogOverlay.Push(new ConfirmDialog(GraphicsSettingsStrings.ChangeRendererConfirmation, game.AttemptExit, () =>
|
||||||
{
|
{
|
||||||
renderer.SetDefault();
|
renderer.Value = r.OldValue;
|
||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user