mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
fix EventTrace argument problem
This commit is contained in:
@@ -106,12 +106,12 @@ function EventTraceFrame_OnEvent (self, event, ...)
|
||||
self.framesSinceLast[nextIndex] = 0;
|
||||
self.eventids[nextIndex] = GetCurrentEventID();
|
||||
|
||||
local numArgs = select("#", arg);
|
||||
local numArgs = select("#", unpack(arg));
|
||||
for i=1, numArgs do
|
||||
if (not self.args[i]) then
|
||||
self.args[i] = {};
|
||||
end
|
||||
self.args[i][nextIndex] = select(i, arg);
|
||||
self.args[i][nextIndex] = arg[i];
|
||||
end
|
||||
|
||||
if (self.eventsToCapture) then
|
||||
|
||||
Reference in New Issue
Block a user