mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 20:12:57 +08:00
fix bracket editor crash when no round description is present
This commit is contained in:
parent
1c19d3a4fb
commit
2c3504d302
@ -51,8 +51,8 @@ namespace osu.Game.Tournament.Screens.Ladder.Components
|
|||||||
name = round.Name.GetBoundCopy();
|
name = round.Name.GetBoundCopy();
|
||||||
name.BindValueChanged(n => textName.Text = ((losers ? "Losers " : "") + round.Name).ToUpper(), true);
|
name.BindValueChanged(n => textName.Text = ((losers ? "Losers " : "") + round.Name).ToUpper(), true);
|
||||||
|
|
||||||
description = round.Name.GetBoundCopy();
|
description = round.Description.GetBoundCopy();
|
||||||
description.BindValueChanged(n => textDescription.Text = round.Description.Value.ToUpper(), true);
|
description.BindValueChanged(n => textDescription.Text = round.Description.Value?.ToUpper(), true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user