fix: set quest inactive when deleting it
All checks were successful
Build / build (pull_request) Successful in 7m55s
All checks were successful
Build / build (pull_request) Successful in 7m55s
This commit is contained in:
parent
2b054d1728
commit
888a8cb088
@ -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": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user