mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-26 00:58:00 -05:00
Merge branch 'master' into production
This commit is contained in:
commit
ff959c48b2
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ module.exports = class Simulator extends CocoClass
|
||||||
onInfiniteLoop: ->
|
onInfiniteLoop: ->
|
||||||
console.warn "Skipping infinitely looping game."
|
console.warn "Skipping infinitely looping game."
|
||||||
@trigger 'statusUpdate', "Infinite loop detected; grabbing a new game in #{@retryDelayInSeconds} seconds."
|
@trigger 'statusUpdate', "Infinite loop detected; grabbing a new game in #{@retryDelayInSeconds} seconds."
|
||||||
_.delay @cleanupAndSimulateAnotherTask, @retryDelayInMilliseconds
|
_.delay @cleanupAndSimulateAnotherTask, @retryDelayInSeconds * 1000
|
||||||
|
|
||||||
processResults: (simulationResults) ->
|
processResults: (simulationResults) ->
|
||||||
taskResults = @formTaskResultsObject simulationResults
|
taskResults = @formTaskResultsObject simulationResults
|
||||||
|
|
Loading…
Reference in a new issue