返回提交历史
Modified
src/controllers/custom/manageQuestsController.ts
+1
-1
XFEstudio/SpaceNinjaServer
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>
c6a3e86d
代码差异
1 个文件
+1
-1
@@ -115,7 +115,7 @@ export const manageQuestsController: RequestHandler = async (req, res) => {
115
115
if (stage > 0) {
116
116
await giveKeyChainStageTriggered(inventory, {
117
117
KeyChain: questKey.ItemType,
118
ChainStage: stage
118
ChainStage: stage - 1
119
119
});
120
120
}
121
121
}