Fix: Tooltip nil name concatenation error

This commit is contained in:
Xurkon
2026-02-16 11:13:46 -06:00
parent a113070b7d
commit 7dce7b792e
2 changed files with 10 additions and 0 deletions
+3
View File
@@ -60,6 +60,9 @@ end
---@param starterId number The ID of the object or NPC the tooltip should show on
---@param key string @Either m_<npcId> or o_<objectId>
function QuestieTooltips:RegisterQuestStartTooltip(questId, name, starterId, key)
if not name then
return
end
if not QuestieTooltips.lookupByKey[key] then
QuestieTooltips.lookupByKey[key] = {};
end