mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:43:19 +08:00
Remove misleading comment and misplaced bug fix
This shouldn't be fixed in a test scene; the underlying issue should be fixed in actual game code.
This commit is contained in:
parent
9b239e308b
commit
951fc5ef6e
@ -5,7 +5,6 @@ using System;
|
||||
using System.Linq;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Audio;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Lists;
|
||||
using osu.Framework.Testing;
|
||||
@ -117,18 +116,6 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
: base(source)
|
||||
{
|
||||
}
|
||||
|
||||
public override Drawable GetDrawableComponent(ISkinComponent component)
|
||||
{
|
||||
var drawable = base.GetDrawableComponent(component);
|
||||
if (drawable != null)
|
||||
return drawable;
|
||||
|
||||
// this isn't really supposed to make a difference from returning null,
|
||||
// but it appears it does, returning null will skip over falling back to beatmap skin,
|
||||
// while calling Source.GetDrawableComponent() doesn't.
|
||||
return Source.GetDrawableComponent(component);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user