mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-07 10:34:46 -04:00
Fixed the level editor preview window not loading on repeated opens.
This commit is contained in:
parent
18f694b010
commit
4929f81fcc
1 changed files with 1 additions and 0 deletions
|
@ -148,6 +148,7 @@ module.exports = class LevelLoader extends CocoClass
|
|||
|
||||
for thangTypeName in thangsToLoad
|
||||
thangType = nameModelMap[thangTypeName]
|
||||
continue if thangType.isFullyLoaded()
|
||||
thangType.fetch()
|
||||
thangType = @supermodel.loadModel(thangType, 'thang').model
|
||||
res = @supermodel.addSomethingResource "sprite_sheet", 5
|
||||
|
|
Loading…
Add table
Reference in a new issue