This commit is contained in:
Michael Schmatz 2015-02-01 15:37:28 -05:00
parent 6551395278
commit 6ca92e1278

View file

@ -126,7 +126,7 @@ module.exports.getTwoGames = (req, res) ->
ogresGameID = req.body.ogresGameID ogresGameID = req.body.ogresGameID
ladderGameIDs = ['greed', 'criss-cross', 'brawlwood', 'dungeon-arena', 'gold-rush', 'sky-span', 'dueling-grounds', 'cavern-survival', 'multiplayer-treasure-grove'] ladderGameIDs = ['greed', 'criss-cross', 'brawlwood', 'dungeon-arena', 'gold-rush', 'sky-span', 'dueling-grounds', 'cavern-survival', 'multiplayer-treasure-grove']
levelID = _.sample ladderGameIDs levelID = _.sample ladderGameIDs
sortLimit = 5000 sortLimit = 200
unless ogresGameID and humansGameID unless ogresGameID and humansGameID
#fetch random games here #fetch random games here
queryParams = queryParams =