A bit of cleanup.

This commit is contained in:
Nick Winter 2014-06-20 20:52:50 -07:00
parent b0eb839cf4
commit dde71485bf
3 changed files with 4 additions and 4 deletions

View file

@ -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"

View file

@ -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

View file

@ -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