Fix CanConvert not returning correctly.

This commit is contained in:
smoogipooo 2017-04-18 10:23:49 +09:00
parent d5c5b7eb6b
commit 5a78ce15a1

View File

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