feat: resolve quest cache validation timeout and update gitignore

This commit is contained in:
Xurkon
2026-03-22 16:03:19 -05:00
parent 55b5c83e50
commit 284f0c3794
5 changed files with 20 additions and 14 deletions
+3 -1
View File
@@ -77,7 +77,9 @@ local function OnQuestLogUpdate()
if objectiveList and objectiveList[1] then
local hasInvalidObjective = false
for _, objective in pairs(objectiveList) do
if (not objective.text) or (stringByte(objective.text, 1) == 32) then
-- Fix: Only fail if text is nil or empty.
-- Leading spaces (ASCII 32) are common on some servers/quests and shouldn't block initialization.
if (not objective.text) or (objective.text == "") then
isQuestLogGood = false
hasInvalidObjective = true
break