mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-16 00:19:50 -05:00
Fix serialization of levels in level editor
This commit is contained in:
parent
02484fd172
commit
59c6d15248
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ module.exports = class Level extends CocoModel
|
|||
# Figure out ThangTypes' Components
|
||||
tmap = {}
|
||||
tmap[t.thangType] = true for t in o.thangs ? []
|
||||
sessionHeroes = [session.get('heroConfig')?.thangType, otherSession?.get('heroConfig')?.thangType]
|
||||
sessionHeroes = [session?.get('heroConfig')?.thangType, otherSession?.get('heroConfig')?.thangType]
|
||||
o.thangTypes = []
|
||||
for tt in supermodel.getModels ThangType
|
||||
if tmap[tt.get('original')] or
|
||||
|
|
Loading…
Reference in a new issue