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 recentlySeenCritters_Recent = {}
|
||||||
|
|
||||||
local function AccumulateFrequency(target, name, data)
|
local function AccumulateFrequency(target, name, data)
|
||||||
local key = name .. "_" .. tostring(data)
|
if not target[name] then target[name] = {}
|
||||||
target[key] = (target[key] or 0) + 1
|
target[name][data] = (target[name][data] or 0) + 1
|
||||||
|
--local key = name .. "_" .. tostring(data)
|
||||||
|
--target[key] = (target[key] or 0) + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
local function MouseoverUnit()
|
local function MouseoverUnit()
|
||||||
|
|
Référencer dans un nouveau ticket