feat: fixed issue with lua 5.0 and backported Ace3

This commit is contained in:
Bluewhale1337
2026-07-26 16:49:36 +02:00
parent 1eb39c9969
commit ccfdc2bdf4
2 changed files with 4 additions and 3 deletions
@@ -942,18 +942,18 @@ local function BuildTabs(group, options, path, appName)
BuildSortedOptionsTable(group, keySort, opts, options, path, appName)
for i = 1, #keySort do
for i = 1, getn(keySort) do
local k = keySort[i]
local v = opts[k]
if v.type == "group" then
path[#path+1] = k
path[getn(path)+1] = k
local inline = pickfirstset(v.dialogInline,v.guiInline,v.inline, false)
local hidden = CheckOptionHidden(v, options, path, appName)
if not inline and not hidden then
tinsert(tabs, k)
text[k] = GetOptionsMemberValue("name", v, options, path, appName)
end
path[#path] = nil
path[getn(path)] = nil
end
end
+1
View File
@@ -6,6 +6,7 @@
# This repository is actively being fixed and maintained by Bluewhale.
## Changelog
- **Fix:** Fixed a Lua 5.0 syntax error in `AceConfigDialog-3.0.lua` where the `#` length operator was used instead of `table.getn`, preventing ElvUI_Config from loading.
- **Fix:** Fixed nil ID formatting crash in Tooltip's SetHyperlink.
- **Fix:** Removed implicit `arg` table memory leaks in high-frequency oUF element updates by replacing varargs (`...`) with static parameters.
- **Fix:** Corrected bug in `Auras.lua` where unused buff icons remained visible on screen due to improper `deadIndex` calculation.