mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 14:42:56 +08:00
Remove dead code
This commit is contained in:
parent
99d2616c34
commit
b12d139317
@ -98,18 +98,6 @@ namespace osu.Game.Overlays.Mods
|
||||
|
||||
#endregion
|
||||
|
||||
public bool SaveCurrentMod()
|
||||
{
|
||||
if (!CheckCurrentModCanBeSave())
|
||||
return false;
|
||||
|
||||
Preset.PerformWrite(s =>
|
||||
{
|
||||
s.Mods = selectedMods.Value.ToArray();
|
||||
});
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool CheckCurrentModCanBeSave() => (!Active.Value && selectedMods.Value.Any());
|
||||
|
||||
protected override void Dispose(bool isDisposing)
|
||||
|
Loading…
Reference in New Issue
Block a user