Filtered out achievement popups for level achievements.

This commit is contained in:
Scott Erickson 2014-11-12 14:40:01 -08:00
parent 1b73569072
commit 6e433e1b77

View file

@ -34,6 +34,7 @@ module.exports = class RootView extends CocoView
'achievements:new': 'handleNewAchievements'
showNewAchievement: (achievement, earnedAchievement) ->
return if achievement.get('collection') is 'level.sessions'
popup = new AchievementPopup achievement: achievement, earnedAchievement: earnedAchievement
handleNewAchievements: (e) ->