mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 08:50:58 -05:00
Added dungeon arena tutorial to a few hardcoded places.
This commit is contained in:
parent
990a2e34e5
commit
13b9a9cb58
2 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ module.exports = class ControlBarView extends View
|
|||
c.ladderGame = @ladderGame
|
||||
c.homeLink = "/"
|
||||
levelID = @level.get('slug')
|
||||
if levelID in ["brawlwood", "brawlwood-tutorial", "dungeon-arena"]
|
||||
if levelID in ["brawlwood", "brawlwood-tutorial", "dungeon-arena", "dungeon-arena-tutorial"]
|
||||
levelID = 'brawlwood' if levelID is 'brawlwood-tutorial'
|
||||
c.homeLink = "/play/ladder/" + levelID
|
||||
c
|
||||
|
|
|
@ -35,7 +35,7 @@ module.exports = class CastButtonView extends View
|
|||
# TODO: use a User setting instead of localStorage
|
||||
delay = localStorage.getItem 'autocastDelay'
|
||||
delay ?= 5000
|
||||
if @levelID in ['brawlwood', 'brawlwood-tutorial', 'dungeon-arena']
|
||||
if @levelID in ['brawlwood', 'brawlwood-tutorial', 'dungeon-arena', 'dungeon-arena-tutorial']
|
||||
delay = 90019001
|
||||
@setAutocastDelay delay
|
||||
|
||||
|
|
Loading…
Reference in a new issue