Probably don't need this; it doesn't appear to be storing the NaNs.

This commit is contained in:
Nick Winter 2014-10-06 22:29:54 -07:00
parent e04a0f33a1
commit 67ed73a01f

View file

@ -46,8 +46,6 @@ module.exports = class LevelBus extends Bus
incrementSessionPlaytime: =>
if @playerIsIdle then return
@changedSessionProperties.playtime = true
if _.isNaN @session.get('playtime')
@session.set 'playtime', 0 # Oops, corrupted some playtimes when moving to new defaults system. Fixed on 2014-10-06, but lost playtime data in between.
@session.set('playtime', @session.get('playtime', true) + 1)
onPoint: ->