From 2bdd1801c9bae248fe8bdfe2b2f47199290c88f2 Mon Sep 17 00:00:00 2001 From: Xurkon Date: Fri, 5 Jun 2026 06:08:54 -0500 Subject: [PATCH] fix: add missing local profile in QuestieMap.ProcessQueue ProcessQueue() references the global 'profile' at line 366 without declaring it locally, causing 'attempt to index global profile (a nil)' when called from the timer queue. All other functions in this file declare local profile = Questie.db.profile before use. --- Modules/Map/QuestieMap.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/Map/QuestieMap.lua b/Modules/Map/QuestieMap.lua index 74f0b2d..4e1aaab 100644 --- a/Modules/Map/QuestieMap.lua +++ b/Modules/Map/QuestieMap.lua @@ -356,6 +356,7 @@ function QuestieMap.ProcessQueue() end local scaleValue = QuestieMap.GetScaleValue() + local profile = Questie.db.profile for _ = 1, math.min(24, math.max(#mapDrawQueue, #minimapDrawQueue)) do local mapDrawCall = tremove(mapDrawQueue, 1); if mapDrawCall then