Skip to content

Commit b6438ff

Browse files
committed
Fix previous commit
Must not write grammar tokens into DFU code.
1 parent 312ac44 commit b6438ff

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Assets/Scripts/Game/UserInterface/ToolTip.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public override void Draw()
196196
// Draw tooltip text
197197
for (int i = 0; i < textRows.Length; i++)
198198
{
199-
font.DrawText(GrammarManager.grammarProcessor.ProcessGrammar(textRows[i]+"{.Maj}"), textPos, LocalScale, textColor);
199+
font.DrawText(GrammarManager.grammarProcessor.ProcessGrammar(textRows[i]), textPos, LocalScale, textColor);
200200
textPos.y += font.GlyphHeight * LocalScale.y;
201201
}
202202

Assets/Scripts/Game/UserInterfaceWindows/DaggerfallTalkWindow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ public virtual void UpdateNameNPC()
387387
{
388388
if (labelNameNPC != null)
389389
{
390-
labelNameNPC.Text = GrammarManager.grammarProcessor.ProcessGrammar(TalkManager.Instance.NameNPC+"{.Maj}");
390+
labelNameNPC.Text = GrammarManager.grammarProcessor.ProcessGrammar(TalkManager.Instance.NameNPC);
391391
}
392392
}
393393

0 commit comments

Comments
 (0)