mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-14 07:00:01 -04:00
Misc workarounds.
This commit is contained in:
parent
68677cf2a1
commit
28176c7f72
3 changed files with 3 additions and 2 deletions
|
@ -236,6 +236,7 @@ module.exports = class Simulator extends CocoClass
|
|||
_.delay @cleanupAndSimulateAnotherTask, @retryDelayInSeconds * 1000
|
||||
|
||||
processResults: (simulationResults) ->
|
||||
return console.error "Weird, we destroyed the Simulator before it processed results?" if @destroyed
|
||||
taskResults = @formTaskResultsObject simulationResults
|
||||
unless taskResults.taskID
|
||||
console.error "*** Error: taskResults has no taskID ***\ntaskResults:", taskResults
|
||||
|
|
|
@ -121,7 +121,7 @@ module.exports = class TomeView extends CocoView
|
|||
spellKey = pathComponents.join '/'
|
||||
@thangSpells[thang.id].push spellKey
|
||||
unless method.cloneOf
|
||||
skipProtectAPI = @getQueryVariable 'skip_protect_api', (@options.levelID in ['gridmancer'])
|
||||
skipProtectAPI = @getQueryVariable 'skip_protect_api', (@options.levelID in ['gridmancer', 'minimax-tic-tac-toe'])
|
||||
spell = @spells[spellKey] = new Spell
|
||||
programmableMethod: method
|
||||
spellKey: spellKey
|
||||
|
|
|
@ -8,7 +8,7 @@ User = require '../users/User'
|
|||
sendwithus = require '../sendwithus'
|
||||
|
||||
PROJECT = {original: 1, name: 1, version: 1, description: 1, slug: 1, kind: 1}
|
||||
FETCH_LIMIT = 200
|
||||
FETCH_LIMIT = 300
|
||||
|
||||
module.exports = class Handler
|
||||
# subclasses should override these properties
|
||||
|
|
Loading…
Reference in a new issue