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

Fix bracket editor crash when no round description is present (#5107)

Fix bracket editor crash when no round description is present
This commit is contained in:
Dean Herbert 2019-06-22 22:15:26 +09:00 committed by GitHub
commit d06fd299cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,8 +51,8 @@ namespace osu.Game.Tournament.Screens.Ladder.Components
name = round.Name.GetBoundCopy();
name.BindValueChanged(n => textName.Text = ((losers ? "Losers " : "") + round.Name).ToUpper(), true);
description = round.Name.GetBoundCopy();
description.BindValueChanged(n => textDescription.Text = round.Description.Value.ToUpper(), true);
description = round.Description.GetBoundCopy();
description.BindValueChanged(n => textDescription.Text = round.Description.Value?.ToUpper(), true);
}
}
}