mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-28 22:00:25 -04:00
Don't show higher AI difficulty achievements in victory modal
This commit is contained in:
parent
6b1c859e91
commit
55529cc2bb
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@ module.exports = class HeroVictoryModal extends ModalView
|
|||
@showStars()
|
||||
|
||||
onAchievementsLoaded: ->
|
||||
@achievements.models = _.filter @achievements.models, (m) -> not m.get('query')?.ladderAchievementDifficulty # Don't show higher AI difficulty achievements
|
||||
@$el.toggleClass 'full-achievements', @achievements.models.length is 3
|
||||
thangTypeOriginals = []
|
||||
achievementIDs = []
|
||||
|
|
Loading…
Add table
Reference in a new issue