mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-14 07:00:01 -04:00
Fix bug in premium level selection code
This commit is contained in:
parent
b057168e61
commit
01affc2054
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ module.exports = class CampaignView extends RootView
|
|||
if me.level() < 12 and @terrain is 'dungeon' and not @editorMode
|
||||
reject = if me.getFourthLevelGroup() is 'signs-and-portents' then 'forgetful-gemsmith' else 'signs-and-portents'
|
||||
context.levels = _.reject context.levels, slug: reject
|
||||
if me.isOnFreeOnlyServer
|
||||
if me.isOnFreeOnlyServer()
|
||||
context.levels = _.reject context.levels, 'requiresSubscription'
|
||||
@annotateLevel level for level in context.levels
|
||||
count = @countLevels context.levels
|
||||
|
|
Loading…
Reference in a new issue