1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 20:47:28 +08:00

fix bracket editor crash when no round description is present

This commit is contained in:
Unknown 2019-06-21 13:29:24 +02:00
parent 1c19d3a4fb
commit 2c3504d302

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);
}
}
}