1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 21:27:24 +08:00

Rename variable and change default to true

This commit is contained in:
Dean Herbert 2020-07-14 20:11:54 +09:00
parent 690f2fd482
commit c7d3b025ad
3 changed files with 4 additions and 4 deletions

View File

@ -91,7 +91,7 @@ namespace osu.Game.Configuration
Set(OsuSetting.FadePlayfieldWhenHealthLow, true);
Set(OsuSetting.KeyOverlay, false);
Set(OsuSetting.PositionalHitSounds, true);
Set(OsuSetting.AlwaysPlayComboBreak, false);
Set(OsuSetting.AlwaysPlayFirstComboBreak, true);
Set(OsuSetting.ScoreMeter, ScoreMeterType.HitErrorBoth);
Set(OsuSetting.FloatingComments, false);
@ -181,7 +181,7 @@ namespace osu.Game.Configuration
ShowStoryboard,
KeyOverlay,
PositionalHitSounds,
AlwaysPlayComboBreak,
AlwaysPlayFirstComboBreak,
ScoreMeter,
FloatingComments,
ShowInterface,

View File

@ -71,7 +71,7 @@ namespace osu.Game.Overlays.Settings.Sections.Gameplay
{
LabelText = "Always play first combo break sound",
Keywords = new[] { "regardless", "combobreak.wav" },
Bindable = config.GetBindable<bool>(OsuSetting.AlwaysPlayComboBreak)
Bindable = config.GetBindable<bool>(OsuSetting.AlwaysPlayFirstComboBreak)
},
new SettingsEnumDropdown<ScoreMeterType>
{

View File

@ -29,7 +29,7 @@ namespace osu.Game.Screens.Play
private void load(OsuConfigManager config)
{
InternalChild = comboBreakSample = new SkinnableSound(new SampleInfo("combobreak"));
alwaysPlay = config.GetBindable<bool>(OsuSetting.AlwaysPlayComboBreak);
alwaysPlay = config.GetBindable<bool>(OsuSetting.AlwaysPlayFirstComboBreak);
}
protected override void LoadComplete()