mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
Do show bonus goals in course mode if you actually achieve them
This commit is contained in:
parent
f1d17ebcba
commit
7c876401bc
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue