More structural changes to the data collection.
Cette révision appartient à :
Parent
1052cb19d1
révision
1b27a605c5
|
@ -35,8 +35,10 @@ local recentlySeenCritters_NextTrash = {}
|
|||
local recentlySeenCritters_Recent = {}
|
||||
|
||||
local function AccumulateFrequency(target, name, data)
|
||||
local key = name .. "_" .. tostring(data)
|
||||
target[key] = (target[key] or 0) + 1
|
||||
if not target[name] then target[name] = {}
|
||||
target[name][data] = (target[name][data] or 0) + 1
|
||||
--local key = name .. "_" .. tostring(data)
|
||||
--target[key] = (target[key] or 0) + 1
|
||||
end
|
||||
|
||||
local function MouseoverUnit()
|
||||
|
|
Référencer dans un nouveau ticket