fix: complete all quests not working
This commit is contained in:
parent
11f2ffe64d
commit
7c9994e913
@ -35,11 +35,9 @@ export const manageQuestsController: RequestHandler = async (req, res) => {
|
||||
|
||||
switch (operation) {
|
||||
case "completeAll": {
|
||||
if (allQuestKeys.includes(questItemType)) {
|
||||
for (const questKey of inventory.QuestKeys) {
|
||||
await completeQuest(inventory, questKey.ItemType);
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "resetAll": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user