Remove obsolete method in `ModAutoplay`

This commit is contained in:
Salman Ahmed 2021-11-07 16:14:24 +03:00
parent ae54e79b4c
commit eb5e7402c3
1 changed files with 1 additions and 6 deletions

View File

@ -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() };
}
}