mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
A bit of cleanup.
This commit is contained in:
parent
b0eb839cf4
commit
dde71485bf
3 changed files with 4 additions and 4 deletions
|
@ -821,8 +821,8 @@ module.exports = nativeDescription: "Deutsch (Deutschland)", englishDescription:
|
|||
# credits: "credits"
|
||||
# one_month_coupon: "coupon: choose either Rails or HTML"
|
||||
# one_month_discount: "discount, 30% off: choose either Rails or HTML"
|
||||
# license: "Lizenz"
|
||||
# oreilly: "Ebook deiner Wahl"
|
||||
license: "Lizenz"
|
||||
oreilly: "Ebook deiner Wahl"
|
||||
|
||||
# multiplayer_launch:
|
||||
# introducing_dungeon_arena: "Introducing Dungeon Arena"
|
||||
|
|
|
@ -34,5 +34,5 @@ module.exports = class LevelSession extends CocoModel
|
|||
for item in thangSpellArr
|
||||
thang = item[0]
|
||||
spell = item[1]
|
||||
return true if c1[thang][spell] isnt c2[thang][spell]
|
||||
return true if c1[thang][spell] isnt c2[thang]?[spell]
|
||||
false
|
||||
|
|
|
@ -35,7 +35,7 @@ module.exports = class CastButtonView extends View
|
|||
@castOptions = $('.autocast-delays', @$el)
|
||||
delay = me.get('autocastDelay')
|
||||
delay ?= 5000
|
||||
if @levelID in ['brawlwood', 'brawlwood-tutorial', 'dungeon-arena', 'dungeon-arena-tutorial', 'gold-rush', 'greed']
|
||||
unless @levelID in ['rescue-mission', 'grab-the-mushroom', 'drink-me', 'its-a-trap', 'break-the-prison', 'taunt', 'cowardly-taunt', 'commanding-followers', 'mobile-artillery']
|
||||
delay = 90019001
|
||||
@setAutocastDelay delay
|
||||
|
||||
|
|
Loading…
Reference in a new issue