mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Added score skipping for under 30
This commit is contained in:
parent
514d6024e0
commit
f479e71cb9
1 changed files with 3 additions and 0 deletions
|
@ -225,6 +225,9 @@ findNearestBetterSessionID = (levelOriginalID, levelMajorVersion, sessionID, ses
|
|||
submittedCode:
|
||||
$exists: true
|
||||
team: opposingTeam
|
||||
|
||||
if opponentSessionTotalScore < 30
|
||||
queryParameters["totalScore"]["$gt"] = opponentSessionTotalScore + 1
|
||||
|
||||
limitNumber = 1
|
||||
|
||||
|
|
Loading…
Reference in a new issue