mirror of
https://github.com/ppy/osu
synced 2024-12-18 12:55:37 +00:00
Fix CanConvert not returning correctly.
This commit is contained in:
parent
d5c5b7eb6b
commit
5a78ce15a1
@ -32,6 +32,6 @@ namespace osu.Game.Modes.Beatmaps
|
||||
/// </summary>
|
||||
/// <param name="beatmap">The Beatmap to check.</param>
|
||||
/// <returns>Whether the Beatmap can be converted using this Beatmap Converter.</returns>
|
||||
public bool CanConvert(Beatmap beatmap) => ValidConversionTypes.All(t => beatmap.HitObjects.Any(h => h.GetType().IsInstanceOfType(t)));
|
||||
public bool CanConvert(Beatmap beatmap) => ValidConversionTypes.All(t => beatmap.HitObjects.Any(h => t.IsInstanceOfType(h)));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user