mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Merge branch 'master' of https://github.com/codecombat/codecombat
This commit is contained in:
commit
f812241bd5
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ module.exports = class GoalsView extends View
|
|||
for goal in e.goals
|
||||
state = e.goalStates[goal.id]
|
||||
continue if goal.hiddenGoal and state.status isnt 'failure'
|
||||
continue if goal.team and me.team isnt goal.team
|
||||
text = goal.i18n?[me.lang()]?.name ? goal.name
|
||||
if state.killed
|
||||
dead = _.filter(_.values(state.killed)).length
|
||||
|
|
Loading…
Reference in a new issue