Quest SetCompleteFlag now updates player the quest is tied to

Fix 
This commit is contained in:
Image 2021-02-05 08:39:14 -05:00
parent 09f3ae4557
commit c83409daec

View file

@ -1722,6 +1722,8 @@ void Quest::SetLevel(int8 in_level) {
void Quest::SetCompletedFlag(bool val) {
completed_flag = val;
SetUpdateRequired(true);
if(player && player->GetClient())
player->GetClient()->SendQuestJournalUpdate(this, true);
}
void Quest::SetStepTimer(int32 duration) {