From d70bfe7e070ea25233447b1ba2e30eaa3967572c Mon Sep 17 00:00:00 2001 From: HungDK <> Date: Thu, 9 Apr 2026 11:25:03 +0700 Subject: [PATCH] Update DlgNPC.cs --- Assets/PerfectWorld/Scripts/UI/Dialogs/DlgNPC.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgNPC.cs b/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgNPC.cs index 4683542a8c..4c2083490f 100644 --- a/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgNPC.cs +++ b/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgNPC.cs @@ -2079,7 +2079,7 @@ namespace BrewMonster.UI for (j = 0; j < pTalk.windows[i].num_option; j++) { strText = GetStringFromTable(249); - strText += pTalk.windows[i].options[j].text; + strText += Encoding.Unicode.GetString(MemoryMarshal.AsBytes(pTalk.windows[i].options[j].text)); m_pLst_Main.AddString(strText); nIndex = m_pLst_Main.GetCount() - 1; m_pLst_Main.SetItemData(nIndex, pTalk.windows[i].options[j].id); @@ -2201,7 +2201,7 @@ namespace BrewMonster.UI for (j = 0; j < pTalk.windows[i].num_option; j++) { strText = GetStringFromTable(249); - strText += pTalk.windows[i].options[j].text; + strText += Encoding.Unicode.GetString(MemoryMarshal.AsBytes(pTalk.windows[i].options[j].text)); m_pLst_Main.AddString(strText); nIndex = m_pLst_Main.GetCount() - 1; m_pLst_Main.SetItemData(nIndex, pTalk.windows[i].options[j].id);