From 7c876401bcc5e25b9765a56c37071441dad5663d Mon Sep 17 00:00:00 2001 From: Nick Winter Date: Fri, 24 Jun 2016 08:50:38 -0700 Subject: [PATCH] Do show bonus goals in course mode if you actually achieve them --- app/views/play/level/LevelGoalsView.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/play/level/LevelGoalsView.coffee b/app/views/play/level/LevelGoalsView.coffee index a691c7e08..1c37e1245 100644 --- a/app/views/play/level/LevelGoalsView.coffee +++ b/app/views/play/level/LevelGoalsView.coffee @@ -49,7 +49,7 @@ module.exports = class LevelGoalsView extends CocoView goals = [] for goal in e.goals state = e.goalStates[goal.id] - continue if goal.optional and @level.get('type', true) is 'course' + continue if goal.optional and @level.get('type', true) is 'course' and state.status isnt 'success' if goal.hiddenGoal continue if goal.optional and state.status isnt 'success' continue if not goal.optional and state.status isnt 'failure'