Skip to content

Commit

Permalink
Fix autobutton on currentstep with multiple qpart
Browse files Browse the repository at this point in the history
  • Loading branch information
Neogeekmo committed May 12, 2024
1 parent dccbbbe commit a02720b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Event.lua
Original file line number Diff line number Diff line change
Expand Up @@ -461,11 +461,11 @@ function AprRC.event.functions.qpart(event, questID)
if AprRC:IsInInstanceQuest() then
currentStep.InstanceQuest = true
end
setButton(questID, index, currentStep)
elseif not currentStep.Qpart[questID] then
currentStep.Qpart[questID] = {}
end
tinsert(currentStep.Qpart[questID], index)
setButton(questID, index, currentStep)
else
newStep()
end
Expand Down

0 comments on commit a02720b

Please sign in to comment.