Skip to content

Commit

Permalink
Merge pull request #1470 from ruddygreat/fix-briefing-text-colours
Browse files Browse the repository at this point in the history
make briefings actually use markup'd text
  • Loading branch information
mqole authored Jan 25, 2025
2 parents df708f2 + 6bffe50 commit 7bb65d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ private void CharacterUpdated(CharacterData data)
var briefingControl = new ObjectiveBriefingControl();
var text = new FormattedMessage();
text.PushColor(Color.Yellow);
text.AddText(briefing);
text.TryAddMarkup(briefing, out _); //imp edit - make this recognize markup'd text as markup'd text
briefingControl.Label.SetMessage(text);
_window.Objectives.AddChild(briefingControl);
}
Expand Down

0 comments on commit 7bb65d2

Please sign in to comment.