Do you need it in the call? You can already access it from button.frame :).
if button.frame:GetParent():GetName():match"oUF_Raid" then
button:EnableMouse(false) --makes debuff clickthrough
did it ^-^
Where is something else i' thinking about. When i am standing in Shatt my Layout stays at around 30kb. But when i am in a raid and there is some heavy action going on the memory use of my layout is growing pretty fast.
Is this the intended way or am i doing something wrong?
However, apparently the callback in my script isn't working! The OnUpdate function is never being set to the Spark. However, I know the spark is there because it's not returning a nil value when I dump it with DevTools.
Did you try to add "for object in pairs(oUF.objects) do setUpdate(object) end" before the register callback func?
That worked thanks.
Now I have a new problem though. With the onUpdate function the spark is completely off from the tick timer until the energy actually ticks. Is there anyone to auto-sync it when I log in, or have it delay until my energy ticks for the first time?
Edit: I should probably ask this in the coder discussion