mirror of
https://github.com/ppy/osu
synced 2025-01-19 04:20:59 +00:00
CI fixes.
This commit is contained in:
parent
0e1ce333e3
commit
0cef14ca63
@ -8,7 +8,6 @@ using osu.Game.Modes.Objects.Types;
|
||||
using OpenTK.Graphics;
|
||||
using osu.Game.Beatmaps.Timing;
|
||||
using osu.Game.Database;
|
||||
using System;
|
||||
|
||||
namespace osu.Game.Modes.Osu.Objects
|
||||
{
|
||||
|
@ -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 => t.IsAssignableFrom(h.GetType())));
|
||||
public bool CanConvert(Beatmap beatmap) => ValidConversionTypes.All(t => beatmap.HitObjects.Any(h => h.GetType().IsInstanceOfType(t)));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user