Fixed showing the guide at the beginning of the level.

This commit is contained in:
Scott Erickson 2014-03-12 12:44:06 -07:00
parent 853a80dd23
commit ed60f5932f

View file

@ -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)