Skip to content

Commit

Permalink
Fix a couple of compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Oct 6, 2023
1 parent 936a21a commit 7227f5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion osu.Game.Tests/Mods/SettingSourceAttributeTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private partial class CustomSettingsControl : SettingsItem<int>

private partial class CustomControl : Drawable, IHasCurrentValue<int>
{
public Bindable<int> Current { get; } = new Bindable<int>();
public Bindable<int> Current { get; set; } = new Bindable<int>();
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -80,11 +79,11 @@ protected override void LoadComplete()
{
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 } }
}
});

Expand Down

0 comments on commit 7227f5c

Please sign in to comment.