"Fix" mod copy failure

This commit is contained in:
Dean Herbert 2022-11-25 01:15:11 +09:00
parent 2b2beadd06
commit f6e229c24d
2 changed files with 5 additions and 5 deletions

View File

@ -45,8 +45,8 @@ namespace osu.Game.Rulesets.Osu.Tests.Mods
InverseMuting = { Value = false },
}));
AddAssert("mute combo count = 0", () => muted.MuteComboCount.Value == 0);
AddAssert("inverse muting = false", () => muted.InverseMuting.Value == false);
AddAssert("mute combo count copied", () => muted.MuteComboCount.Value, () => Is.EqualTo(0));
AddAssert("inverse muting copied", () => muted.InverseMuting.Value, () => Is.False);
}
}
}

View File

@ -35,6 +35,9 @@ namespace osu.Game.Rulesets.Mods
private readonly BindableNumber<int> currentCombo = new BindableInt();
[SettingSource("Start muted", "Increase volume as combo builds.")]
public BindableBool InverseMuting { get; } = new BindableBool();
[SettingSource("Enable metronome", "Add a metronome beat to help you keep track of the rhythm.")]
public BindableBool EnableMetronome { get; } = new BindableBool(true);
@ -45,9 +48,6 @@ namespace osu.Game.Rulesets.Mods
MaxValue = 500,
};
[SettingSource("Start muted", "Increase volume as combo builds.")]
public BindableBool InverseMuting { get; } = new BindableBool();
[SettingSource("Mute hit sounds", "Hit sounds are also muted alongside the track.")]
public BindableBool AffectsHitSounds { get; } = new BindableBool(true);