mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 10:06:08 -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
|
@casting = false
|
||||||
if @hasCastOnce # Don't play this sound the first time
|
if @hasCastOnce # Don't play this sound the first time
|
||||||
@playSound 'cast-end', 0.5
|
@playSound 'cast-end', 0.5
|
||||||
myHeroID = if me.team is 'ogres' then 'Hero Placeholder 1' else 'Hero Placeholder'
|
# Worked great for live Ace of Coders tournament, but probably annoying for asynchronous tournament mode.
|
||||||
if @ladderSubmissionView and not e.world.thangMap[myHeroID]?.errorsOut
|
#myHeroID = if me.team is 'ogres' then 'Hero Placeholder 1' else 'Hero Placeholder'
|
||||||
_.delay (=> @ladderSubmissionView?.rankSession()), 1000 if @ladderSubmissionView
|
#if @ladderSubmissionView and not e.world.thangMap[myHeroID]?.errorsOut
|
||||||
|
# _.delay (=> @ladderSubmissionView?.rankSession()), 1000 if @ladderSubmissionView
|
||||||
@hasCastOnce = true
|
@hasCastOnce = true
|
||||||
@updateCastButton()
|
@updateCastButton()
|
||||||
@world = e.world
|
@world = e.world
|
||||||
|
|
Loading…
Reference in a new issue