Quantcast
WoWInterface - View Single Post - Event for switching talents?
View Single Post
08-09-17, 11:32 PM   #14
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 1,960
What happens add this at the top of the function?
Code:
max = max or 0
This will force max to be zero if nil is passed.
__________________
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote