From a02720b1bf08d8b53098b1dcaeeff3f7eba3582e Mon Sep 17 00:00:00 2001 From: Aldric Ducreux Date: Sun, 12 May 2024 03:52:54 +0200 Subject: [PATCH] Fix autobutton on currentstep with multiple qpart --- Event.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Event.lua b/Event.lua index ab21a96..1fe517f 100644 --- a/Event.lua +++ b/Event.lua @@ -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