Skip to content

Commit

Permalink
Fixed popout of a questID group which has an identical parent questID…
Browse files Browse the repository at this point in the history
… group from corrupting the Main list (fixes #714)
  • Loading branch information
ImUnicke committed Mar 8, 2021
1 parent c8ddffe commit 9bbdbba
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions AllTheThings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10529,9 +10529,10 @@ function app:CreateMiniListForGroup(group)
end;
elseif (group.key == "questID" and group.questID) or group.sourceQuests then
-- This is a quest object. Let's show prereqs and breadcrumbs.
if group.questID ~= nil and group.parent and group.parent.questID == group.questID then
group = group.parent;
end
-- This causes a popout insertion into the Main list when a popout group has a parent (in Main list) with the same questID (#714)
-- if group.questID ~= nil and group.parent and group.parent.questID == group.questID then
-- group = group.parent;
-- end
local root = group;
root.collectible = not root.repeatable;
local g = { root };
Expand Down

0 comments on commit 9bbdbba

Please sign in to comment.