Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Commit

Permalink
[Fix] Fix issue where quest saylink responses would occur before the …
Browse files Browse the repository at this point in the history
…NPC's response
  • Loading branch information
Akkadius committed Feb 28, 2023
1 parent 93c7981 commit a09e1bb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions zone/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1192,10 +1192,6 @@ void Client::ChannelMessageReceived(uint8 chan_num, uint8 language, uint8 lang_s
sender = GetPet();
}

if (!is_silent) {
entity_list.ChannelMessage(sender, chan_num, language, lang_skill, message);
}

if (parse->PlayerHasQuestSub(EVENT_SAY)) {
parse->EventPlayer(EVENT_SAY, this, message, language);
}
Expand Down Expand Up @@ -1251,6 +1247,11 @@ void Client::ChannelMessageReceived(uint8 chan_num, uint8 language, uint8 lang_s
}
}
}

if (!is_silent) {
entity_list.ChannelMessage(sender, chan_num, language, lang_skill, message);
}

break;
}
case ChatChannel_UCSRelay:
Expand Down

0 comments on commit a09e1bb

Please sign in to comment.