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