mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:27:29 +08:00
Fix all remaining cases of incorrect Bindable<string>
defaults
This commit is contained in:
parent
2856aef4eb
commit
672664dce7
@ -10,7 +10,7 @@ namespace osu.Game.Tournament.Models
|
||||
{
|
||||
public List<SeedingBeatmap> Beatmaps = new List<SeedingBeatmap>();
|
||||
|
||||
public Bindable<string> Mod = new Bindable<string>();
|
||||
public Bindable<string> Mod = new Bindable<string>(string.Empty);
|
||||
|
||||
public Bindable<int> Seed = new BindableInt
|
||||
{
|
||||
|
@ -14,8 +14,8 @@ namespace osu.Game.Tournament.Models
|
||||
[Serializable]
|
||||
public class TournamentRound
|
||||
{
|
||||
public readonly Bindable<string> Name = new Bindable<string>();
|
||||
public readonly Bindable<string> Description = new Bindable<string>();
|
||||
public readonly Bindable<string> Name = new Bindable<string>(string.Empty);
|
||||
public readonly Bindable<string> Description = new Bindable<string>(string.Empty);
|
||||
|
||||
public readonly BindableInt BestOf = new BindableInt(9) { Default = 9, MinValue = 3, MaxValue = 23 };
|
||||
|
||||
|
@ -149,7 +149,7 @@ namespace osu.Game.Tournament.Screens.Editors
|
||||
|
||||
private readonly Bindable<int?> beatmapId = new Bindable<int?>();
|
||||
|
||||
private readonly Bindable<string> mods = new Bindable<string>();
|
||||
private readonly Bindable<string> mods = new Bindable<string>(string.Empty);
|
||||
|
||||
private readonly Container drawableContainer;
|
||||
|
||||
|
@ -149,7 +149,7 @@ namespace osu.Game.Tournament.Screens.Editors
|
||||
|
||||
private readonly Bindable<int?> beatmapId = new Bindable<int?>();
|
||||
|
||||
private readonly Bindable<string> score = new Bindable<string>();
|
||||
private readonly Bindable<string> score = new Bindable<string>(string.Empty);
|
||||
|
||||
private readonly Container drawableContainer;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user