mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 15:57:24 +08:00
Fix typo in TaikoMultiplierAppliedDifficulty
class name
This commit is contained in:
parent
17e0498860
commit
8007ba93eb
@ -47,10 +47,10 @@ namespace osu.Game.Rulesets.Taiko.Beatmaps
|
|||||||
|
|
||||||
protected override Beatmap<TaikoHitObject> ConvertBeatmap(IBeatmap original, CancellationToken cancellationToken)
|
protected override Beatmap<TaikoHitObject> ConvertBeatmap(IBeatmap original, CancellationToken cancellationToken)
|
||||||
{
|
{
|
||||||
if (!(original.Difficulty is TaikoMutliplierAppliedDifficulty))
|
if (!(original.Difficulty is TaikoMultiplierAppliedDifficulty))
|
||||||
{
|
{
|
||||||
// Rewrite the beatmap info to add the slider velocity multiplier
|
// Rewrite the beatmap info to add the slider velocity multiplier
|
||||||
original.Difficulty = new TaikoMutliplierAppliedDifficulty(original.Difficulty);
|
original.Difficulty = new TaikoMultiplierAppliedDifficulty(original.Difficulty);
|
||||||
}
|
}
|
||||||
|
|
||||||
Beatmap<TaikoHitObject> converted = base.ConvertBeatmap(original, cancellationToken);
|
Beatmap<TaikoHitObject> converted = base.ConvertBeatmap(original, cancellationToken);
|
||||||
@ -191,15 +191,15 @@ namespace osu.Game.Rulesets.Taiko.Beatmaps
|
|||||||
|
|
||||||
protected override Beatmap<TaikoHitObject> CreateBeatmap() => new TaikoBeatmap();
|
protected override Beatmap<TaikoHitObject> CreateBeatmap() => new TaikoBeatmap();
|
||||||
|
|
||||||
private class TaikoMutliplierAppliedDifficulty : BeatmapDifficulty
|
private class TaikoMultiplierAppliedDifficulty : BeatmapDifficulty
|
||||||
{
|
{
|
||||||
public TaikoMutliplierAppliedDifficulty(IBeatmapDifficultyInfo difficulty)
|
public TaikoMultiplierAppliedDifficulty(IBeatmapDifficultyInfo difficulty)
|
||||||
{
|
{
|
||||||
CopyFrom(difficulty);
|
CopyFrom(difficulty);
|
||||||
}
|
}
|
||||||
|
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public TaikoMutliplierAppliedDifficulty()
|
public TaikoMultiplierAppliedDifficulty()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -208,14 +208,14 @@ namespace osu.Game.Rulesets.Taiko.Beatmaps
|
|||||||
public override void CopyTo(BeatmapDifficulty other)
|
public override void CopyTo(BeatmapDifficulty other)
|
||||||
{
|
{
|
||||||
base.CopyTo(other);
|
base.CopyTo(other);
|
||||||
if (!(other is TaikoMutliplierAppliedDifficulty))
|
if (!(other is TaikoMultiplierAppliedDifficulty))
|
||||||
SliderMultiplier /= LegacyBeatmapEncoder.LEGACY_TAIKO_VELOCITY_MULTIPLIER;
|
SliderMultiplier /= LegacyBeatmapEncoder.LEGACY_TAIKO_VELOCITY_MULTIPLIER;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void CopyFrom(IBeatmapDifficultyInfo other)
|
public override void CopyFrom(IBeatmapDifficultyInfo other)
|
||||||
{
|
{
|
||||||
base.CopyFrom(other);
|
base.CopyFrom(other);
|
||||||
if (!(other is TaikoMutliplierAppliedDifficulty))
|
if (!(other is TaikoMultiplierAppliedDifficulty))
|
||||||
SliderMultiplier *= LegacyBeatmapEncoder.LEGACY_TAIKO_VELOCITY_MULTIPLIER;
|
SliderMultiplier *= LegacyBeatmapEncoder.LEGACY_TAIKO_VELOCITY_MULTIPLIER;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user