mirror of
https://github.com/ppy/osu
synced 2024-12-24 15:53:37 +00:00
"Fix" mod copy failure
This commit is contained in:
parent
2b2beadd06
commit
f6e229c24d
@ -45,8 +45,8 @@ namespace osu.Game.Rulesets.Osu.Tests.Mods
|
|||||||
InverseMuting = { Value = false },
|
InverseMuting = { Value = false },
|
||||||
}));
|
}));
|
||||||
|
|
||||||
AddAssert("mute combo count = 0", () => muted.MuteComboCount.Value == 0);
|
AddAssert("mute combo count copied", () => muted.MuteComboCount.Value, () => Is.EqualTo(0));
|
||||||
AddAssert("inverse muting = false", () => muted.InverseMuting.Value == false);
|
AddAssert("inverse muting copied", () => muted.InverseMuting.Value, () => Is.False);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -35,6 +35,9 @@ namespace osu.Game.Rulesets.Mods
|
|||||||
|
|
||||||
private readonly BindableNumber<int> currentCombo = new BindableInt();
|
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.")]
|
[SettingSource("Enable metronome", "Add a metronome beat to help you keep track of the rhythm.")]
|
||||||
public BindableBool EnableMetronome { get; } = new BindableBool(true);
|
public BindableBool EnableMetronome { get; } = new BindableBool(true);
|
||||||
|
|
||||||
@ -45,9 +48,6 @@ namespace osu.Game.Rulesets.Mods
|
|||||||
MaxValue = 500,
|
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.")]
|
[SettingSource("Mute hit sounds", "Hit sounds are also muted alongside the track.")]
|
||||||
public BindableBool AffectsHitSounds { get; } = new BindableBool(true);
|
public BindableBool AffectsHitSounds { get; } = new BindableBool(true);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user