mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-13 13:35:30 -04:00
Next Level arrow shouldn't point to Kithgard Mastery
This commit is contained in:
parent
3c203f13ff
commit
b38c7b4978
1 changed files with 2 additions and 1 deletions
|
@ -302,7 +302,8 @@ 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 nextLevel.slug isnt 'lost-viking' and not nextLevel.replayable and (
|
||||
dontPointTo = ['lost-viking','kithgard-mastery']
|
||||
if nextLevel and not nextLevel.locked and @levelStatusMap[nextLevel.slug] isnt 'complete' and nextLevel.slug not in dontPointTo and not nextLevel.replayable and (
|
||||
me.isPremium() or
|
||||
not nextLevel.requiresSubscription or
|
||||
nextLevel.slug is 'apocalypse' or
|
||||
|
|
Loading…
Add table
Reference in a new issue