View Single Post
08-10-19, 11:16 AM   #7
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,877
SavedVariables are initially nil so if they require meaning other than that then you need to initialise them first time in.

PLAYER_LOGIN event
Lua Code:
  1. if not SimpleMap then
  2.     SimpleMap = 1
  3.     -- or SimpleMap = {}
  4.     -- or SimpleMap = Whatever
  5. end
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote