diff --git a/app/lib/LevelLoader.coffee b/app/lib/LevelLoader.coffee index 00c834bd9..88cc35fe5 100644 --- a/app/lib/LevelLoader.coffee +++ b/app/lib/LevelLoader.coffee @@ -153,7 +153,8 @@ module.exports = class LevelLoader extends CocoClass url += "?course=#{@courseID}" if @courseID session = new LevelSession().setURL url - session.project = ['creator', 'team', 'heroConfig', 'codeLanguage', 'submittedCodeLanguage', 'state', 'submittedCode'] if @headless + if @headless and not @level.isType('web-dev') + session.project = ['creator', 'team', 'heroConfig', 'codeLanguage', 'submittedCodeLanguage', 'state', 'submittedCode'] @sessionResource = @supermodel.loadModel(session, 'level_session', {cache: false}) @session = @sessionResource.model if @opponentSessionID