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: complete all quests not working (#1755)

Fixes #1742 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1755 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>

9912a623
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +2 -4
Modified src/controllers/custom/manageQuestsController.ts +2 -4
@@ -35,10 +35,8 @@ export const manageQuestsController: RequestHandler = async (req, res) => {
35 35
36 36 switch (operation) {
37 37 case "completeAll": {
38 if (allQuestKeys.includes(questItemType)) {
39 for (const questKey of inventory.QuestKeys) {
40 await completeQuest(inventory, questKey.ItemType);
41 }
38 for (const questKey of inventory.QuestKeys) {
39 await completeQuest(inventory, questKey.ItemType);
42 40 }
43 41 break;
44 42 }