Mercurial > wow > wowdb-profiler
diff Main.lua @ 84:1f09f3590baa
Don't record quest ID 0.
author | James D. Callahan III <jcallahan@curse.com> |
---|---|
date | Thu, 23 Aug 2012 11:30:03 -0500 |
parents | fc3e8a55d7ea |
children | e2b741356fc9 |
line wrap: on
line diff
--- a/Main.lua Thu Aug 23 11:02:39 2012 -0500 +++ b/Main.lua Thu Aug 23 11:30:03 2012 -0500 @@ -1248,7 +1248,9 @@ while processed_quests <= num_quests do local _, _, _, _, is_header, _, _, _, quest_id = _G.GetQuestLogTitle(entry_index) - if not is_header then + if quest_id == 0 then + processed_quests = processed_quests + 1 + elseif not is_header then _G.SelectQuestLogEntry(entry_index); local quest = DBEntry("quests", quest_id)