MainTank Icon
Neav opened this issue ยท 4 comments
Missed that :O
http://paste.pocoo.org/raw/415260/
So this is the little "Shield" icon if the unit is marked as maintank.
List of stuff I noticed:
- You lack the namespace header (which is used in every other file in oUF/element).
- Missing ability to override the Update function. Check other elements.
- Create a git format-diff if you can, but not required. One for API-6 and one for master if you can be arsed.
- Fix your indenting. It's currently inconsistent.
- Don't use select(), just use _ for the un-used locals.
- Change MaintTank to MainTank.
- Review your code to spot anything I didn't spot.
I'll do it myself if you haven't within 24 hours btw. >:3
http://paste.pocoo.org/raw/415439/
Now ok?^^
Solved with 7bcf986.