mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-27 14:33:59 -04:00
Don't try to autorank anonymous users playing autoranked ladder levels
This commit is contained in:
parent
8d444e7ce8
commit
88cca795c6
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ module.exports = class CastButtonView extends CocoView
|
|||
@playSound 'cast-end', 0.5
|
||||
# Worked great for live beginner tournaments, but probably annoying for asynchronous tournament mode.
|
||||
myHeroID = if me.team is 'ogres' then 'Hero Placeholder 1' else 'Hero Placeholder'
|
||||
if @autoSubmitsToLadder and not e.world.thangMap[myHeroID]?.errorsOut
|
||||
if @autoSubmitsToLadder and not e.world.thangMap[myHeroID]?.errorsOut and not me.get('anonymous')
|
||||
_.delay (=> @ladderSubmissionView?.rankSession()), 1000 if @ladderSubmissionView
|
||||
@hasCastOnce = true
|
||||
@updateCastButton()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue