Commit 5988546f authored by Azilroka's avatar Azilroka

Demand Loaded

parent 5c45983e
......@@ -68,7 +68,7 @@ AddOn.AddOnVersion = {}
for i = 1, GetNumAddOns() do
local Name, _, _, _, Reason = GetAddOnInfo(i)
AddOn.AddOns[strlower(Name)] = GetAddOnEnableState(AddOn.MyName, Name) == 2 and not Reason
AddOn.AddOns[strlower(Name)] = GetAddOnEnableState(AddOn.MyName, Name) == 2 and (not Reason or Reason ~= 'DEMAND_LOADED')
AddOn.AddOnVersion[strlower(Name)] = GetAddOnMetadata(Name, "Version")
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment