From c6a3e86d2b0cb9745c07e8955881e9c4037b0f7a Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Mon, 29 Sep 2025 23:59:35 -0700 Subject: [PATCH] fix(webui): invoke giveKeyChainStageTriggered for new stage (#2830) Previously, this caused the old stage to just be reinitiated so we never went backwards. Closes #2829 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2830 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com> --- src/controllers/custom/manageQuestsController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/custom/manageQuestsController.ts b/src/controllers/custom/manageQuestsController.ts index efd1ec63..25c80cd0 100644 --- a/src/controllers/custom/manageQuestsController.ts +++ b/src/controllers/custom/manageQuestsController.ts @@ -115,7 +115,7 @@ export const manageQuestsController: RequestHandler = async (req, res) => { if (stage > 0) { await giveKeyChainStageTriggered(inventory, { KeyChain: questKey.ItemType, - ChainStage: stage + ChainStage: stage - 1 }); } }