mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-30 19:06:59 -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
|
@ -226,6 +226,9 @@ findNearestBetterSessionID = (levelOriginalID, levelMajorVersion, sessionID, ses
|
|||
$exists: true
|
||||
team: opposingTeam
|
||||
|
||||
if opponentSessionTotalScore < 30
|
||||
queryParameters["totalScore"]["$gt"] = opponentSessionTotalScore + 1
|
||||
|
||||
limitNumber = 1
|
||||
|
||||
sortParameters =
|
||||
|
|
Loading…
Reference in a new issue