Skip to content

Commit fd0c469

Browse files
committed
Update ToolTip.cs
Tooltips need to be grammar processed too.
1 parent 52f89ec commit fd0c469

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Assets/Scripts/Game/UserInterface/ToolTip.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
using System.Collections.Generic;
1515
using System.Text;
1616
using System.IO;
17+
using DaggerfallWorkshop.Localization;
1718

1819
namespace DaggerfallWorkshop.Game.UserInterface
1920
{
@@ -195,7 +196,7 @@ public override void Draw()
195196
// Draw tooltip text
196197
for (int i = 0; i < textRows.Length; i++)
197198
{
198-
font.DrawText(textRows[i], textPos, LocalScale, textColor);
199+
font.DrawText(GrammarManager.grammarProcessor.ProcessGrammar(textRows[i]), textPos, LocalScale, textColor);
199200
textPos.y += font.GlyphHeight * LocalScale.y;
200201
}
201202

0 commit comments

Comments
 (0)