Originally Posted by SDPhantom
What happens add this at the top of the function?
This will force max to be zero if nil is passed.
|
This does solve the lua error, however the visual artifacts remain (the green statusbars on the target and target's target, aswell as no unitframe textures for the target, all unit frames have all raid icons above their head simultaneously, etc. (the stuff pictured in the screenshot)
Now I'm not entierly convinced the visual issue with the statusbars is related to this error, disabling the player's frame entierly doesn't seem to affect the issue, and removing thatline while using the older version of oUF doesn't either, so now I'm super confused.
Yay for things breaking without errors!