XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFESpaceNinjaServer

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
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified src/controllers/custom/manageQuestsController.ts +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 }