mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09: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:
@ -5,7 +5,6 @@ using System;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using osu.Framework.Allocation;
|
using osu.Framework.Allocation;
|
||||||
using osu.Framework.Audio;
|
using osu.Framework.Audio;
|
||||||
using osu.Framework.Graphics;
|
|
||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
using osu.Framework.Lists;
|
using osu.Framework.Lists;
|
||||||
using osu.Framework.Testing;
|
using osu.Framework.Testing;
|
||||||
@ -117,18 +116,6 @@ namespace osu.Game.Tests.Visual.Gameplay
|
|||||||
: base(source)
|
: 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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user