Skip to content

Commit

Permalink
fix set auto button quest
Browse files Browse the repository at this point in the history
  • Loading branch information
Neogeekmo committed Apr 18, 2024
1 parent 3adc7ba commit 30c7b9c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Event.lua
Original file line number Diff line number Diff line change
Expand Up @@ -370,11 +370,10 @@ function AprRC.event.functions.qpart(event, questID)
local link = GetQuestLogSpecialItemInfo(questLogIndex)
if link then
local itemID = AprRC:GetItemIDFromLink(link)
if AprRC:HasStepOption("Button") then
tinsert(step.Button[questID .. "-" .. index], itemID)
else
step.Button = { [questID .. "-" .. index] = itemID }
if not step.Button then
step.Button = {}
end
step.Button[questID .. "-" .. index] = itemID
end
end

Expand Down

0 comments on commit 30c7b9c

Please sign in to comment.