mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
Disabled auto-submit for Ace of Coders ranking.
This commit is contained in:
parent
6506b95bad
commit
7a56ecfe4d
1 changed files with 4 additions and 3 deletions
|
@ -101,9 +101,10 @@ module.exports = class CastButtonView extends CocoView
|
|||
@casting = false
|
||||
if @hasCastOnce # Don't play this sound the first time
|
||||
@playSound 'cast-end', 0.5
|
||||
myHeroID = if me.team is 'ogres' then 'Hero Placeholder 1' else 'Hero Placeholder'
|
||||
if @ladderSubmissionView and not e.world.thangMap[myHeroID]?.errorsOut
|
||||
_.delay (=> @ladderSubmissionView?.rankSession()), 1000 if @ladderSubmissionView
|
||||
# Worked great for live Ace of Coders tournament, but probably annoying for asynchronous tournament mode.
|
||||
#myHeroID = if me.team is 'ogres' then 'Hero Placeholder 1' else 'Hero Placeholder'
|
||||
#if @ladderSubmissionView and not e.world.thangMap[myHeroID]?.errorsOut
|
||||
# _.delay (=> @ladderSubmissionView?.rankSession()), 1000 if @ladderSubmissionView
|
||||
@hasCastOnce = true
|
||||
@updateCastButton()
|
||||
@world = e.world
|
||||
|
|
Loading…
Reference in a new issue