[quote=Torhal;328966]
Originally Posted by Sylen
I use this for highlighting debuffs
Lua Code:
_, ic, _, dT = UnitBuff(s.unit, i)
Unless you're declaring these elsewhere prefixed by "local" you're leaking variables into the global scope. There have been a few occasions where Blizzard has accidentally done this themselves, so AddOn code which also was doing this started causing problems by touching the global "_" variable in secure code.
|
Yeah, I noticed this same thing with nUI a few years back when it was mentioned in passing. So I added the change during one of the expansion updates.