mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-27 14:33:59 -04:00
Enable while True auto yielding for all level types
This commit is contained in:
parent
b03091c35d
commit
3ed755076b
2 changed files with 1 additions and 2 deletions
app
|
@ -13,7 +13,7 @@ module.exports.createAetherOptions = (options) ->
|
|||
skipDuplicateUserInfoInFlow: true # Optimization that won't work if we are stepping with frames
|
||||
yieldConditionally: options.functionName is 'plan'
|
||||
simpleLoops: true
|
||||
whileTrueAutoYield: options.whileTrueAutoYield ? false
|
||||
whileTrueAutoYield: true
|
||||
globals: ['Vector', '_']
|
||||
problems:
|
||||
jshint_W040: {level: 'ignore'}
|
||||
|
|
|
@ -159,7 +159,6 @@ module.exports = class Spell
|
|||
skipProtectAPI: skipProtectAPI
|
||||
includeFlow: includeFlow
|
||||
problemContext: problemContext
|
||||
whileTrueAutoYield: @levelType is 'course'
|
||||
aether = new Aether aetherOptions
|
||||
if @worker
|
||||
workerMessage =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue