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

Add restart as mods settings

This commit is contained in:
Paul Teng 2018-10-24 13:36:35 -04:00
parent ec33e63a4f
commit d7d83a27d4
2 changed files with 7 additions and 0 deletions

View File

@ -84,6 +84,7 @@ namespace osu.Game.Configuration
Set(OsuSetting.ScoreDisplayMode, ScoringMode.Standardised);
Set(OsuSetting.IncreaseFirstObjectVisibility, true);
Set(OsuSetting.RestartOnFail, false);
// Update
Set(OsuSetting.ReleaseStream, ReleaseStream.Lazer);
@ -148,6 +149,7 @@ namespace osu.Game.Configuration
BeatmapSkins,
BeatmapHitsounds,
IncreaseFirstObjectVisibility,
RestartOnFail,
ScoreDisplayMode
}
}

View File

@ -20,6 +20,11 @@ namespace osu.Game.Overlays.Settings.Sections.Gameplay
LabelText = "Increase visibility of first object with \"Hidden\" mod",
Bindable = config.GetBindable<bool>(OsuSetting.IncreaseFirstObjectVisibility)
},
new SettingsCheckbox
{
LabelText = "Restart on fail with \"Perfect\" and \"Sudden Death\" mod",
Bindable = config.GetBindable<bool>(OsuSetting.RestartOnFail)
},
};
}
}