Fixed thang avatar view thang loading some more.
This commit is contained in:
parent
a8abe8c887
commit
04da5b4714
1 changed files with 4 additions and 2 deletions
|
@ -22,7 +22,9 @@ module.exports = class ThangAvatarView extends View
|
||||||
unless @thangType.isFullyLoaded() or @thangType.loading
|
unless @thangType.isFullyLoaded() or @thangType.loading
|
||||||
@thangType.fetch()
|
@thangType.fetch()
|
||||||
|
|
||||||
@supermodel.loadModel @thangType, 'thang'
|
# couldn't get the level view to load properly through the supermodel
|
||||||
|
# so just doing it manually this time.
|
||||||
|
@listenTo @thangType, 'sync', @render
|
||||||
|
|
||||||
getSpriteThangType: ->
|
getSpriteThangType: ->
|
||||||
thangs = @supermodel.getModels(ThangType)
|
thangs = @supermodel.getModels(ThangType)
|
||||||
|
|
Reference in a new issue