From 9774638d435357ba83f8ad05db0c41361651ef0f Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Tue, 8 Dec 2015 13:00:03 -0800 Subject: [PATCH] Fix waypoints are not bonfires --- server/boot/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/boot/user.js b/server/boot/user.js index 2276e8f01c..4d7b44b013 100644 --- a/server/boot/user.js +++ b/server/boot/user.js @@ -224,7 +224,7 @@ module.exports = function(app) { ); const bonfires = profileUser.completedChallenges.filter(function(obj) { - return obj.challengeType === 5 && (obj.name || '').match(/Bonfire/g); + return (obj.name || '').match(/^Bonfire/g); }); const waypoints = profileUser.completedChallenges.filter(function(obj) {