mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 16:17:57 -05:00
Fixed showing the guide at the beginning of the level.
This commit is contained in:
parent
853a80dd23
commit
ed60f5932f
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ module.exports = class PlayLevelView extends View
|
|||
|
||||
onLevelLoaderProgressChanged: ->
|
||||
return if @seenDocs
|
||||
return unless showFrequency = @levelLoader.level.get('showGuide')
|
||||
return unless showFrequency = @levelLoader.level.get('showsGuide')
|
||||
session = @levelLoader.session
|
||||
diff = new Date().getTime() - new Date(session.get('created')).getTime()
|
||||
return if showFrequency is 'first-time' and diff > (5 * 60 * 1000)
|
||||
|
|
Loading…
Reference in a new issue