fix(options): use {} not { ... } for tab tables
Five Options files seeded their tab tables with { ... } instead of {}.
At chunk scope WoW passes ... = (addonName, addonTable), so each table
got two stray junk entries instead of being empty; { ... } is also a
strict Lua 5.0 parse error. Fixed QuestieOptions.tabs and the Arrow,
General, Keybinds, and Tracker tab tables. Cherry-picked from
phase2-lua50-sweep (the only version-independent fix in that branch).
This commit is contained in:
@@ -32,7 +32,7 @@ local AvailableQuests = QuestieLoader:ImportModule("AvailableQuests")
|
||||
---@class QuestieMap
|
||||
local QuestieMap = QuestieLoader:CreateModule("QuestieMap");
|
||||
|
||||
QuestieOptions.tabs.general = { ... }
|
||||
QuestieOptions.tabs.general = {}
|
||||
local optionsDefaults = QuestieOptionsDefaults:Load()
|
||||
|
||||
local _GetAnnounceChannels
|
||||
|
||||
Reference in New Issue
Block a user