Play sound on ignore/unignore
This commit is contained in:
parent
19536ba534
commit
72c49999b8
|
@ -59,6 +59,8 @@ function AO_ToggleIgnoreQuest(questIndex)
|
||||||
AO_IGNORED_QUESTS[quest.name] = nil
|
AO_IGNORED_QUESTS[quest.name] = nil
|
||||||
|
|
||||||
WORLD_MAP_QUEST_BREADCRUMBS:OnQuestAdded(questIndex)
|
WORLD_MAP_QUEST_BREADCRUMBS:OnQuestAdded(questIndex)
|
||||||
|
|
||||||
|
PlaySound(SOUNDS.QUEST_SHARE_ACCEPTED)
|
||||||
else
|
else
|
||||||
AO_IGNORED_QUESTS[quest.name] = true
|
AO_IGNORED_QUESTS[quest.name] = true
|
||||||
|
|
||||||
|
@ -66,6 +68,8 @@ function AO_ToggleIgnoreQuest(questIndex)
|
||||||
AO_ORIG_QUEST_CATEGORY_TYPES[quest.name] = quest.categoryType
|
AO_ORIG_QUEST_CATEGORY_TYPES[quest.name] = quest.categoryType
|
||||||
|
|
||||||
WORLD_MAP_QUEST_BREADCRUMBS:OnQuestRemoved(false, questIndex)
|
WORLD_MAP_QUEST_BREADCRUMBS:OnQuestRemoved(false, questIndex)
|
||||||
|
|
||||||
|
PlaySound(SOUNDS.QUEST_SHARE_DECLINED)
|
||||||
end
|
end
|
||||||
|
|
||||||
SYSTEMS:GetObject("questJournal"):OnQuestsUpdated()
|
SYSTEMS:GetObject("questJournal"):OnQuestsUpdated()
|
||||||
|
|
Loading…
Reference in New Issue