View Single Post
09/23/19, 10:17 AM   #2
Anceane
 
Anceane's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 306
When i have this in a configmenu.lua, do i need to change it too ? (i corrected the .txt, the call in in the main lua, but i dont know about this one part


Code:
local LAM = LibStub( 'LibAddonMenu-2.0', true )
local LMP = LibStub( 'LibMediaProvider-1.0', true )

if ( not LAM ) then return end
if ( not LMP ) then return end

My basic understanding would be to do :


Code:
local LAM = LibAddonMenu-2.0
local LMP = LibMediaProvider-1.0

if ( not LAM ) then return end
if ( not LMP ) then return end
Thank you
  Reply With Quote