from retail

This commit is contained in:
NoM0Re
2025-01-17 17:01:24 +01:00
parent c4205b0c29
commit b900520d5f
3 changed files with 8 additions and 10 deletions
+4 -6
View File
@@ -300,13 +300,11 @@ local function BuildUidMap(data, children, type)
-- index, total, parentIsDynamicGroup: helpers that transport data between phase 1 and 2
},
type = type -- Either old or new, only used for error checking
-- root: uid of the root
-- totalCount: count of members
-- idToUid maps from id to uid
type = type, -- Either old or new, only used for error checking
root = data.uid, -- root: uid of the root
totalCount = #children + 1, -- totalCount: count of members
idToUid = {} -- idToUid maps from id to uid
}
uidMap.root = data.uid
uidMap.totalCount = #children + 1
-- Build helper map from id to uid
local idToUid = {}