Fixed the level editor preview window not loading on repeated opens.

This commit is contained in:
Scott Erickson 2014-05-21 14:28:52 -07:00
parent 18f694b010
commit 4929f81fcc

View file

@ -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