from retail

This commit is contained in:
NoM0Re
2025-01-09 17:17:53 +01:00
parent 55709443ae
commit aee89075c9
8 changed files with 67 additions and 45 deletions
+13 -2
View File
@@ -855,6 +855,17 @@ local function BuildUidMap(data, children, type)
self.rootParent = parentId
end
uidMap.Dump = function(self, uid)
if uid == nil then
uid = self:GetRootUID()
end
print(self:GetIdFor(uid))
local children = self:GetChildren(uid)
for i, childUid in ipairs(children) do
uidMap:Dump(childUid)
end
end
return uidMap, uidMap.root
end
@@ -1545,9 +1556,9 @@ local methods = {
self:SetMinimumProgress(2 * onePhaseProgress)
local removeNewGroups = matchInfo.activeCategories.arrangement and not userChoices.activeCategories.arrangement
if userChoices.activeCategories.newchildren or removeNewGroups then
if not userChoices.activeCategories.newchildren or removeNewGroups then
self:RemoveUnmatchedNew(matchInfo.newUidMap, matchInfo.newUidMap:GetRootUID(), matchInfo.oldUidMap,
userChoices.activeCategories.newchildren,
not userChoices.activeCategories.newchildren,
removeNewGroups)
end
self:SetMinimumProgress(3 * onePhaseProgress)