mirror of https://github.com/ppy/osu
Remove obsolete method in `ModAutoplay`
This commit is contained in:
parent
ae54e79b4c
commit
eb5e7402c3
|
@ -30,11 +30,6 @@ public abstract class ModAutoplay : Mod, IApplicableFailOverride, ICreateReplay
|
|||
|
||||
public override bool HasImplementation => GetType().GenericTypeArguments.Length == 0;
|
||||
|
||||
[Obsolete("Use the mod-supporting override")] // can be removed 20210731
|
||||
public virtual Score CreateReplayScore(IBeatmap beatmap) => new Score { Replay = new Replay() };
|
||||
|
||||
#pragma warning disable 618
|
||||
public virtual Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => CreateReplayScore(beatmap);
|
||||
#pragma warning restore 618
|
||||
public virtual Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score { Replay = new Replay() };
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue