(team)
| 550 | } |
| 551 | |
| 552 | setTeam (team) { |
| 553 | if (!_.isString(team)) { |
| 554 | team = (team || {}).team |
| 555 | } |
| 556 | if (!team) { |
| 557 | team = 'humans' |
| 558 | } |
| 559 | me.team = team |
| 560 | this.session.set('team', team) |
| 561 | Backbone.Mediator.publish('level:team-set', { team }) // Needed for scripts |
| 562 | this.team = team |
| 563 | } |
| 564 | |
| 565 | initGoalManager () { |
| 566 | const options = { |
no test coverage detected