| 63 | |
| 64 | getLevelPlayCounts () { |
| 65 | const success = levelPlayCounts => { |
| 66 | if (this.destroyed) { return } |
| 67 | for (const level of Array.from(levelPlayCounts)) { |
| 68 | this.levelPlayCountMap[level._id] = { playtime: level.playtime, sessions: level.sessions } |
| 69 | } |
| 70 | if (this.supermodel.finished()) { return this.render() } |
| 71 | } |
| 72 | |
| 73 | const levelIDs = [] |
| 74 | for (const campaign of Array.from(campaigns)) { |