mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-27 06:23:41 -04:00
Fix for infinite loop fix.
This commit is contained in:
parent
515b8723a3
commit
544070e578
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ module.exports = class Simulator extends CocoClass
|
|||
onInfiniteLoop: ->
|
||||
console.warn "Skipping infinitely looping game."
|
||||
@trigger 'statusUpdate', "Infinite loop detected; grabbing a new game in #{@retryDelayInSeconds} seconds."
|
||||
_.delay @cleanupAndSimulateAnotherTask, @retryDelayInMilliseconds
|
||||
_.delay @cleanupAndSimulateAnotherTask, @retryDelayInSeconds * 1000
|
||||
|
||||
processResults: (simulationResults) ->
|
||||
taskResults = @formTaskResultsObject simulationResults
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue