fix: set quest inactive when deleting it
All checks were successful
Build / build (pull_request) Successful in 7m55s

This commit is contained in:
Sainan 2025-10-31 09:50:17 +01:00
parent 2b054d1728
commit 888a8cb088

View File

@ -61,6 +61,7 @@ export const manageQuestsController: RequestHandler = async (req, res) => {
break;
}
inventory.QuestKeys.pull({ ItemType: questItemType });
if (inventory.ActiveQuest == questItemType) inventory.ActiveQuest = "";
break;
}
case "completeKey": {