mirror of
https://github.com/ppy/osu
synced 2025-03-19 17:44:30 +00:00
Bring back virtual track condition given its cheapness
Will still keep the override in `ClockBackedTestWorkingBeatmap` because it still relies on a local track store and will fail the moment it uses a non-virtual track.
This commit is contained in:
parent
466ed3c791
commit
a42f5ea34e
@ -133,7 +133,7 @@ namespace osu.Game.Beatmaps
|
|||||||
/// <returns>Whether the track has been transferred to the <paramref name="target"/>.</returns>
|
/// <returns>Whether the track has been transferred to the <paramref name="target"/>.</returns>
|
||||||
public virtual bool TryTransferTrack([NotNull] WorkingBeatmap target)
|
public virtual bool TryTransferTrack([NotNull] WorkingBeatmap target)
|
||||||
{
|
{
|
||||||
if (BeatmapInfo?.AudioEquals(target.BeatmapInfo) != true)
|
if (BeatmapInfo?.AudioEquals(target.BeatmapInfo) != true || track.IsDummyDevice)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
target.track = track;
|
target.track = track;
|
||||||
|
Loading…
Reference in New Issue
Block a user