Play sound on ignore/unignore

This commit is contained in:
Les De Ridder 2019-01-17 22:19:18 +01:00
parent 19536ba534
commit 72c49999b8
1 changed files with 4 additions and 0 deletions

View File

@ -59,6 +59,8 @@ function AO_ToggleIgnoreQuest(questIndex)
AO_IGNORED_QUESTS[quest.name] = nil
WORLD_MAP_QUEST_BREADCRUMBS:OnQuestAdded(questIndex)
PlaySound(SOUNDS.QUEST_SHARE_ACCEPTED)
else
AO_IGNORED_QUESTS[quest.name] = true
@ -66,6 +68,8 @@ function AO_ToggleIgnoreQuest(questIndex)
AO_ORIG_QUEST_CATEGORY_TYPES[quest.name] = quest.categoryType
WORLD_MAP_QUEST_BREADCRUMBS:OnQuestRemoved(false, questIndex)
PlaySound(SOUNDS.QUEST_SHARE_DECLINED)
end
SYSTEMS:GetObject("questJournal"):OnQuestsUpdated()