mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-21 20:25:51 +12:00
Fix npc chat? ???
This commit is contained in:
parent
dbbf913719
commit
ea544dcbe1
7 changed files with 43 additions and 22 deletions
|
@ -2559,17 +2559,15 @@ namespace HISP.Game
|
|||
if (result.GotoChatpoint != -1)
|
||||
chatpoint = Npc.GetNpcChatpoint(npc, result.GotoChatpoint);
|
||||
|
||||
if (chatpoint.ChatText.Trim() == "")
|
||||
if (result.NpcChat != null)
|
||||
if(result.NpcChat.Trim() != "")
|
||||
chatpoint.ChatText = result.NpcChat;
|
||||
if (result.NpcChat != null && result.NpcChat.Trim() != "")
|
||||
chatpoint.ChatText = result.NpcChat;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (result.GotoChatpoint != -1)
|
||||
chatpoint = Npc.GetNpcChatpoint(npc, result.GotoChatpoint);
|
||||
|
||||
if (result.NpcChat != null)
|
||||
if (result.NpcChat != null && result.NpcChat.Trim() != "")
|
||||
chatpoint.ChatText = result.NpcChat;
|
||||
|
||||
if (result.HideRepliesOnFail)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue