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

Fix a couple of compilation errors

This commit is contained in:
Dean Herbert 2023-10-06 18:13:02 +09:00
parent 936a21a661
commit 7227f5c881
No known key found for this signature in database
2 changed files with 3 additions and 4 deletions

View File

@ -66,7 +66,7 @@ namespace osu.Game.Tests.Mods
private partial class CustomControl : Drawable, IHasCurrentValue<int>
{
public Bindable<int> Current { get; } = new Bindable<int>();
public Bindable<int> Current { get; set; } = new Bindable<int>();
}
}
}

View File

@ -4,7 +4,6 @@
using System.Linq;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Testing;
using osu.Game.Online.API.Requests.Responses;
@ -80,11 +79,11 @@ namespace osu.Game.Tournament.Tests.Components
{
Team1 =
{
Value = new TournamentTeam { Players = new BindableList<TournamentUser> { redUser } }
Value = new TournamentTeam { Players = { redUser } }
},
Team2 =
{
Value = new TournamentTeam { Players = new BindableList<TournamentUser> { blueUser, blueUserWithCustomColour } }
Value = new TournamentTeam { Players = { blueUser, blueUserWithCustomColour } }
}
});