diff --git a/quest_api.lua b/quest_api.lua index 1ec2ff7..66fbd0d 100644 --- a/quest_api.lua +++ b/quest_api.lua @@ -594,6 +594,12 @@ yl_speak_up.load_quest = function(q_id) if(quest and not(quest.step_data)) then quest.step_data = {} end + if(quest and not(quest.npcs)) then + quest.npcs = {} + end + if(quest and not(quest.locations)) then + quest.locations = {} + end if(quest) then for s, d in pairs(quest.step_data) do if(not(d.where)) then