View Single Post
05-30-23, 07:54 AM   #5
mataal
A Murloc Raider
Join Date: Apr 2020
Posts: 8
Originally Posted by Vampyr78 View Post
There are 2 ways to avoid this kind of problems in the future.
  1. Use a prefix containing either your addon's name or an abbriviation of addon's name for every variable and function you create.
  2. Create an object with your addon's name that and declare all the variables and functions as members of that object.

Both appraoaches allow you to minimize risk given variable exists somewhere else.
Yeah, I've added a prefix and worked
  Reply With Quote