View Single Post
06/19/18, 01:15 PM   #4
Tarlac
 
Tarlac's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2018
Posts: 10
Originally Posted by sirinsidiator View Post
Calling LAM2:RegisterAddonPanel("ReloadButton", panelData) creates a global variable for the settings panel, which will overwrite any variables that existed prior. Since you pass "ReloadButton", it will replace your global table. Use something like ReloadButtonSettings instead and it should work.
Thank you so much!!! I knew my variables were being wiped, but did not know why. Thank you!! I changed name and works like a champ. FYI, incase you were wondering if your tutorials were being used, they are by me for sure. Thank you for doing those. I have been following what you say and using it in my own addon. Thank you very much for your help.

Tarlac.
  Reply With Quote