Wrap objective briefing text (#24244)
This commit is contained in:
@@ -149,7 +149,10 @@ public sealed class CharacterUIController : UIController, IOnStateEntered<Gamepl
|
||||
if (briefing != null)
|
||||
{
|
||||
var briefingControl = new ObjectiveBriefingControl();
|
||||
briefingControl.Label.Text = briefing;
|
||||
var text = new FormattedMessage();
|
||||
text.PushColor(Color.Yellow);
|
||||
text.AddText(briefing);
|
||||
briefingControl.Label.SetMessage(text);
|
||||
_window.Objectives.AddChild(briefingControl);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user