rf
All checks were successful
Build / build (22) (push) Successful in 36s
Build / build (20) (push) Successful in 1m3s
Build / build (18) (push) Successful in 1m11s
Build / build (18) (pull_request) Successful in 39s
Build / build (20) (pull_request) Successful in 1m2s
Build / build (22) (pull_request) Successful in 1m13s

This commit is contained in:
Ordis 2025-02-21 19:05:35 +01:00
parent a12b8b5e8b
commit b88ba17f93
2 changed files with 1 additions and 4 deletions

View File

@ -63,8 +63,6 @@ export const manageQuestsController: RequestHandler = async (req, res) => {
inventory.ArchwingEnabled = true; inventory.ArchwingEnabled = true;
} }
} }
inventory.ActiveQuest = "";
break; break;
} }
case "ResetAll": { case "ResetAll": {
@ -103,7 +101,6 @@ export const manageQuestsController: RequestHandler = async (req, res) => {
inventory.ArchwingEnabled = true; inventory.ArchwingEnabled = true;
} }
} }
inventory.ActiveQuest = "";
break; break;
} }
case "giveAll": { case "giveAll": {

View File

@ -127,7 +127,7 @@ export const completeQuest = async (inventory: TInventoryDatabaseDocument, quest
} }
} }
inventory.ActiveQuest = ""; inventory.ActiveQuest = "";
//TODO: handle quest completions //TODO: handle quest completion items
}; };
export const giveKeyChainItem = async (inventory: TInventoryDatabaseDocument, keyChainInfo: IKeyChainRequest) => { export const giveKeyChainItem = async (inventory: TInventoryDatabaseDocument, keyChainInfo: IKeyChainRequest) => {