mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-22 10:55:19 -04:00
Probably don't need this; it doesn't appear to be storing the NaNs.
This commit is contained in:
parent
e04a0f33a1
commit
67ed73a01f
1 changed files with 0 additions and 2 deletions
|
@ -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: ->
|
||||
|
|
Loading…
Reference in a new issue