mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
Merge branch 'quest-unlocks' of https://github.com/CuriousMagpie/habitica into quest-unlocks
This commit is contained in:
@@ -61,11 +61,14 @@ function lockQuest (quest, user) {
|
|||||||
if (intersection(quest.prereqQuests, achievedQuestKeys) !== quest.prereqQuests) return true;
|
if (intersection(quest.prereqQuests, achievedQuestKeys) !== quest.prereqQuests) return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
// OR THIS
|
// OR THIS
|
||||||
// if (intersection(quest.prereqQuests, keys(user.quest.achievements)) !== quest.prereqQuests) {
|
// if (intersection(quest.prereqQuests, keys(user.quest.achievements)) !== quest.prereqQuests) {
|
||||||
// return true;
|
// return true;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
=======
|
||||||
|
>>>>>>> d0e9339d3b19d8c1f323b052d7146979193dddfd
|
||||||
// then if we've passed all the checks, at the end
|
// then if we've passed all the checks, at the end
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user