Promoting Favorable Odds as the cool thing to do that all the cool kids are doing 'cause it's so cool.

This commit is contained in:
Nick Winter 2015-04-08 16:23:51 -07:00
parent d082aa3754
commit 6d9c13b7e1

View file

@ -299,7 +299,12 @@ module.exports = class CampaignView extends RootView
unless foundNext
for nextLevelOriginal in level.nextLevels
nextLevel = _.find levels, original: nextLevelOriginal
if nextLevel and not nextLevel.locked and @levelStatusMap[nextLevel.slug] isnt 'complete' and (me.isPremium() or not nextLevel.requiresSubscription or nextLevel.slug is 'apocalypse')
if nextLevel and not nextLevel.locked and @levelStatusMap[nextLevel.slug] isnt 'complete' and (
me.isPremium() or
not nextLevel.requiresSubscription or
nextLevel.slug is 'apocalypse' or
(nextLevel.slug is 'favorable-odds' and not @levelStatusMap['the-raised-sword'])
)
nextLevel.next = true
foundNext = true
break