I thought I asked this once before, but my forum search/history turns up nothing.
lua Code:
function CNames:ADDON_LOADED(event)
...
CNames_Options.enemy = CNames_Options.enemy or true
CNames_Options.friend = CNames_Options.friend or true
...
end
When the addon loads up, .enemy and .friend are always true, even if the saved variable exists and is false. Where is my flaw in logic here?