mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 05:53:39 -04:00
Don't protect APIs in game-dev levels
This commit is contained in:
parent
ccf5b449e3
commit
a96d5df78e
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ module.exports = class Spell
|
|||
|
||||
createAether: (thang) ->
|
||||
writable = @permissions.readwrite.length > 0 and not @isAISource
|
||||
skipProtectAPI = @skipProtectAPI or not writable
|
||||
skipProtectAPI = @skipProtectAPI or not writable or @levelType in ['game-dev']
|
||||
problemContext = @createProblemContext thang
|
||||
includeFlow = (@levelType in ['hero', 'hero-ladder', 'hero-coop', 'course', 'course-ladder', 'game-dev']) and not skipProtectAPI
|
||||
aetherOptions = createAetherOptions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue