1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 16:07:24 +08:00

Remove redundant code

This commit is contained in:
Salman Ahmed 2022-04-06 02:38:56 +03:00
parent ec5ad995f8
commit ce70957fbf
2 changed files with 2 additions and 3 deletions

View File

@ -22,7 +22,6 @@ namespace osu.Game.Rulesets.Taiko.Skinning.Legacy
{ {
private LegacyHalfDrum left; private LegacyHalfDrum left;
private LegacyHalfDrum right; private LegacyHalfDrum right;
private Container content;
public LegacyInputDrum() public LegacyInputDrum()
{ {
@ -32,7 +31,7 @@ namespace osu.Game.Rulesets.Taiko.Skinning.Legacy
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(ISkinSource skin) private void load(ISkinSource skin)
{ {
Child = content = new Container Child = new Container
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Children = new Drawable[] Children = new Drawable[]

View File

@ -63,7 +63,7 @@ namespace osu.Game.Rulesets.Taiko.UI
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(OsuColour colours) private void load(OsuColour colours)
{ {
Container leftArea = null; Container leftArea;
InternalChildren = new[] InternalChildren = new[]
{ {